Adding custom class to image block


I want to add a custom class to an image block and have successfully added the class through the page_theme.php file, but Concrete5 adds my class to a surrounding div instead of to the image. Is there any way to add the class directly to the image?

I hope someone can help!

Many thanks in advance.

You would need to develop a custom template for the block. See Creating Additional Custom View Templates

Thank you so much for your help!