How to add a CSS attribute to Image generated with image style Pretty much all in the title. I would like to add a CSS classes to images generated via a image style theme function, so that the output looks like : 

&lt;img class="MYCLASS" alt="" src="site.com/sites/default/files/styles/profile_picture/public/pictures/picture-1-1318455022.jpg" typeof="foaf:Image"&gt; 


Is there anyway to do so ?
If you are comfortable overriding theme functions in your theme's template.php you can just create a YOURTHEME_image_style() function:

http://api.drupal.org/api/drupal/modules--image--image.module/function/theme_image_style/7