problem photos changed to JPG