add image to a record