add class attribute

Allows you to add class attribute to generated <img> tag. 
Just add data-class="your-class-name" attribute to image wrapper div.