Phone cameras and DSLRs sometimes save photos in the wrong orientation due to how they read sensor data. An image might look correct in a phone's gallery but appear sideways when uploaded to a website