photo orientation fixed
photo saving should be fine (although images are now resized)