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
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'.