Add data attribute for object id for images