add image to document