Active
Project:
Imagefield Crop
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Sep 2011 at 17:36 UTC
Updated:
7 Sep 2011 at 08:28 UTC
Is it possible?
I've read here but don't know where the theme_imagefield_image() function is.
http://stackoverflow.com/questions/6595256/how-to-add-a-class-to-img-rendered-by-imagefield
Thank you
Comments
Comment #1
yhager commentedIt should be exactly as the responder in SO said. Just add this function to your theme.
Comment #2
zoo commentedHello,
Thank you for your answer, it worked copying and modifying the function from the imagecache.module.
But, is there a way to apply a class only to certain images? I mean selectively, say only to the imagefield crop images within a node?
Thank you
Comment #3
zoo commentedChanged the Status to 'active'.