added jpg to an image