Is it possible to only use image cache if a node for a gallery does not specify a custom username thumbnail? For example, in create content, a user can attach an image, and then also attach a thumbnail in a different image field. If the thumbnail image field is empty, then image cache should make a thumbnail, but if thumbnail image fie is used then the gallery will use the image user updated.

Can something like that be done?

Comments

garg’s picture

Goodness, what happened to my english there (it was late)? Let me rewrite:

"Is it possible to only use imagecache if a node for a gallery does not specify a custom thumbnail? For example, in create content, I want a user to be able to upload an image, and then also attach a thumbnail in a different image field. If the thumbnail image field is empty, then imagecache should make a thumbnail, but if a thumbnail image fie is specified then the gallery should use the image the user uploaded."

Hopefully this will make more sense. :)

jelo’s picture

I think this is the same issue which has been put in as feature request:
http://drupal.org/node/771854

Jens

eojthebrave’s picture

You should be able to accomplish this with CCK/Imagefield and a little bit of logic in your node template or template.php files.

See my comments on this issue #771854: Upload Alternative Preset Image

fizk’s picture

Status: Active » Closed (fixed)

Please reopen if this is still an issue with ImageCache 6.x-2.0-rc1.