Fixing Photo Orientation: Why Pictures Turn Sideways
Phone cameras often write photos the way the sensor sits, then add a note saying which way is up. Most software reads the note, some doesn't, and that is why a picture that looks perfect in your gallery lands sideways in a CMS, a forum or a print order. Fixing photo orientation properly means rotating the actual pixels instead of trusting every app to read metadata. Below: how the orientation tag works, a rotation with real numbers, straightening a tilted horizon, and the mistakes that turn a two-second fix into a mess.