Why Photos Upload Sideways: Check Orientation Before Rotating Again
Diagnose a mismatch between image pixels, orientation metadata and upload processing, then verify an exported copy in the receiving site.
Content updated:
The stored image and its displayed orientation can differ
A photograph may contain orientation metadata that tells a viewer to rotate or mirror its stored pixels for display. Current browser behavior can use this information automatically. That is why a file can appear upright even when a metadata inspection describes a rotated storage orientation.
Different points in an upload pipeline may interpret or remove the orientation instruction differently. The problem is not always the camera and cannot be diagnosed from a sideways thumbnail alone. Compare the original file, a fresh export and the receiving page.
Do not apply a second correction to an upright preview
Open the source in Rotate Image and inspect the actual preview. If it is already upright, do not add a quarter turn merely because another application reported an orientation value. A browser may already have applied that instruction while decoding.
If the preview is visibly sideways, rotate in the direction needed to make the subject upright. Use a sign or label to check mirroring as well as rotation. A portrait-shaped canvas can still contain an upside-down or mirrored subject, so width and height are not a complete test.
Understand what this export does
TheImageIs rotation tool draws the decoded image onto a new canvas and exports a PNG. This is a new rendered copy, not a lossless JPEG-block rotation utility. Keep the original if its camera metadata or original encoding matters.
An upright image in a standalone browser tab proves only that this browser displays it upright. It does not prove that no orientation metadata exists or that another processing system will behave identically. When metadata normalization itself is a requirement, inspect the exported metadata with an appropriate tool as a separate check.
A useful end-to-end orientation test
Choose a non-sensitive portrait photo with readable lettering. Compare its appearance in the rotation preview, export the intended orientation, then reopen the downloaded copy in another viewer. Check that the top, bottom and lettering agree; do not assume that a particular camera always writes its pixels in one orientation.
Upload the copy under a distinct filename to a draft page and inspect both the full image and thumbnail. If only an old thumbnail stays sideways, investigate cached or regenerated variants rather than repeatedly rotating the source. Preserve the correctly oriented download as the reference for the destination check.
Verify a sideways upload without double rotation
A guided exercise, not a benchmark. Inspect your own output; results depend on the source and settings.
- Open the original in Rotate Image and check its preview before changing the angle.
- Rotate only if the visible subject needs it; also check lettering for mirroring.
- Export and reopen the downloaded PNG in another viewer.
- Upload it with a distinct filename to a draft page and compare the full image with its generated thumbnail.
The source preview, downloaded copy and receiving site's full image and thumbnail all show the intended orientation.
Sources & further reading
Try an idea and review your result before saving your edits.