Adding data attributes to images.