Added image data to element