add a sample for an image with a caption