changed images to .jpg