Add class attribute to IMG tag

Add class is added as "data-class" on parent element and is inherited by every IMG tag.