Add data-class to the top-level image div

Add data-class attribute to the top-level image div to be intercepted and furthermore applied to the different img tags.