changed image to jpg