Add a class to a image for a specific view I need add a class to a image for one specific views.
I tried:


theme_preprocess_field() but it doesn't work  
theme_preprocess_image() but it's for all the images  
I tried what suggested in Override image template for field image_formatter own, but it is too complex to simply add a CSS class  
This answer is the more accepted but I like other ways


Is it possible to override a field/image template file for a specific view?
If your view is outputting fields (&amp; not a teaser) you can easily do it in the views UI.


Edit your view
Click on the image field
STYLE SETTINGS > Customize field HTML > Create a CSS class
Save


Now your image field should have a class: