add image to curl post