add image to preview