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

yhager’s picture

Status: Active » Closed (works as designed)

It should be exactly as the responder in SO said. Just add this function to your theme.

zoo’s picture

Hello,

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

zoo’s picture

Status: Closed (works as designed) » Active

Changed the Status to 'active'.