change image to jpg