Active
Project:
ImageField Assist
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Dec 2009 at 22:52 UTC
Updated:
25 Dec 2009 at 04:33 UTC
Jump to comment: Most recent
Comments
Comment #1
lourenzo commentedHi
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?
Comment #2
bcobin commentedThank 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!
Comment #3
Anonymous (not verified) commenteddo 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.