This is great - after two years, I've finally been able to ditch the Image module! Really terrific work here - we all stand on the shoulders of giants!

There's one feature missing from Image Assist, though, and that's the "Allow Custom Sizes" - I assume that's not terribly straightforward otherwise it would already be in there.

I'll start this thread just to keep track - thanks much for liberating me from the Image module in the meantime! Great work.

Comments

lourenzo’s picture

Hi

The best part of this work is that it's useful to people.

This question of Custom Sizes is paused since module's submission, because I just couldn't figure out which would be the best method to implement this.

The methods that came to my mind are:

* Just resizing the image in client-size, using img tag attributes
* Generate a resized image server-side and provide it

The two methods present some concept problems, the first one would be terrible when using large images, the other one wouldn't scale well unless we replicate imagecache's concept.

Maybe generating a profile for each custom size would be a good model, but it has its problems too, bloating the imagecache's presets list.

Anyone has a good suggestion on which would be the best approach for implementing this feature?

bcobin’s picture

The best part of this work is that it's useful to people.

Thank you, Lourenzo - it's folks like you who make all of this possible, really.

As to the method, I would certainly vote for #2 - generating the resized image, although that's probably the most work of the three. Perhaps some code could be used from the original img_assist module - simple scaling would be a big help here.

I suppose a DeLuxe version could offer the ability to add IC actions with the option of saving the action set as an Imagecache preset or not. Having the option of not saving the preset would alleviate the necessity of bloating the preset list.

Thanks for your response and for the work you're doing - I'll be staying tuned!

Anonymous’s picture

do you have an idea for a workaround for this problem? i have user uploading gigapixel size and the resizing them via html. results in small images taking very long time to display.