added an image to the object