adds an image file.