If you allow for default imagecache preset names, the number of db queries can be reduced. For example, if the default preset names are 'user_thumbnail' and 'user_profile'. If a user creates presets with these names, and configures imagecache_profiles to indicate they have done so, the db queries to get the $size can be eliminated. If they use their own preset names, it functions as is.
Is this a sensible recommendation?
Comments
Comment #1
v1nce commentedPlease provide a patch and I'll have a look. This sounds sensible.
Comment #2
kulfi commentedOops. Am not a coder, otherwise I would have provided you with something already :(
Comment #3
George2 commentedwhy not just use the imagecache preset names as values in the form? that way, the imagecach ename can be passed directly to the theme_imagecache function
Comment #4
v1nce commentedThis has been updated in the 6.x branch.