Image Tools

Fix a Photo That Displays Sideways or Upside Down

Fix a Photo That Displays Sideways or Upside Down

A photo that looks perfectly upright on your phone, but shows up sideways or upside down the moment it is uploaded somewhere else, is a genuinely confusing problem — the image has not visibly changed, yet different software is displaying it differently. This almost always comes down to how the photo's orientation is recorded, not the actual pixel data itself.

Understanding the cause makes the fix straightforward, and the Image Compressor is a convenient way to apply it, since re-saving an image through most processing tools normalises this kind of orientation issue as a side effect.

What is actually happening: EXIF orientation data

Modern phone cameras often save a photo's actual pixel data in a fixed orientation, and separately record which way the camera was physically held when the photo was taken as a small piece of metadata (called EXIF orientation) alongside the image. A viewer that correctly reads this metadata rotates the display accordingly, showing the photo the way it was actually framed. A viewer that ignores or mishandles this metadata displays the raw pixel data in its stored orientation instead, which can look sideways or upside down even though nothing about the image itself is actually wrong.

Why this shows up inconsistently across different apps and sites

Because handling this metadata correctly depends on the specific software reading the file, the same photo can display correctly in one app and incorrectly in another, purely because of how each one was built. This is why a photo can look completely normal in your phone's own gallery, then appear rotated the moment it is uploaded to a website, attached to an email, or opened in an older or more basic image viewer that does not check the orientation metadata at all.

Steps to fix it permanently

  1. Open the photo in a basic image editor and use its rotate function to set the image the way it should appear.
  2. Save or export the result — this step typically “bakes in” the correct orientation directly into the pixel data, rather than relying on metadata a future viewer might or might not read correctly.
  3. Alternatively, run the photo through the Image Compressor, which re-processes and re-saves the image, normalising orientation issues as part of that process for most files.

Why re-saving through a processing tool often fixes this automatically

Because image processing tools generally read the pixel data and metadata together and produce a fresh output file, this step frequently resolves orientation inconsistencies as a natural side effect, without requiring you to manually identify or rotate anything yourself. This is one of the more convenient hidden benefits of running a problematic photo through any processing step — compressing it, resizing it, converting its format — since most of these tools handle orientation correctly as part of producing their output, even if fixing orientation specifically was not the reason you used them.

Checking the fix actually worked

After re-saving or manually rotating, open the result in more than one viewer if you can — your phone's gallery and a web browser, for instance — to confirm the orientation is now correct everywhere, not just in whichever app you used to make the fix. If a photo still displays incorrectly in one specific viewer after this, that particular viewer likely has its own orientation-handling quirk, worth noting if you use it regularly.

Preventing this for future photos

There is no universal setting on a phone that guarantees every future app will handle orientation correctly, since the inconsistency lives on the receiving software's side, not the camera's. What does help is being aware of the issue and checking a photo's appearance in its actual destination (the website, the document, the email) before assuming it is fine just because it looked correct in your phone's own gallery.

A related problem: photos that rotate themselves back after you fix them

Occasionally, rotating a photo in one app and then uploading it somewhere else results in the photo reverting to its original, wrong orientation. This usually means the rotation was applied only to how that specific app displays the image, without actually changing the stored pixel data or updating the orientation metadata — a cosmetic fix rather than a real one. Using an export or “save as” step, rather than just a rotate button within a viewer, more reliably makes the change permanent and consistent everywhere the file goes next.

Why this is more common with phone photos than camera photos

Dedicated cameras have historically been more consistent about how they record and expect orientation metadata to be interpreted, while phones, apps, and the wide variety of software people use to view and share phone photos vary considerably in how carefully they handle it. This is part of why the problem seems to have become more noticeable in recent years, even though the underlying mechanism has existed for a long time — more photos are taken on phones, and they pass through a wider variety of apps and platforms on their way to wherever they end up.

Handling this for a batch of photos taken at the same event

If you have a whole set of photos from the same shoot or event showing the same orientation problem, it is usually the same underlying cause affecting all of them, so a single batch run through the Image Compressor can normalise the entire set at once rather than needing to check and fix each photo individually. Spot-check a handful from different points in the batch afterwards to confirm the fix applied consistently across the whole set.

Frequently asked questions

Why does the same photo look fine on my phone but sideways on my computer?

This is the EXIF orientation issue described above — your phone's gallery reads the orientation metadata correctly, while whatever you are viewing it with on your computer may not.

Does compressing a photo always fix orientation problems?

In most cases yes, since the process re-saves the image with orientation normalised, though it is worth checking the result to confirm for your specific file.

Will this happen again if I take a new photo the same way?

It can, since the underlying cause — how different software handles orientation metadata — is not something a single fixed photo changes going forward for new photos.

Does this affect PNG files the same way as JPG?

Orientation metadata is more commonly associated with JPG, particularly from camera and phone sources; a PNG is less likely to carry this specific kind of metadata in the first place.

Can I fix several sideways photos at once?

Yes, running a batch of affected photos through the Image Compressor together normalises orientation for the whole set in one pass.

Is there a way to check a photo's orientation metadata before uploading it?

Some photo management and editing apps show this in a file's properties or details panel; if you do not have access to that, re-saving through a processing tool as a precaution is a simpler general fix.

Is the tool free and private?

Yes. No sign-up, no watermark, and files are removed from the server automatically about an hour after processing.

Related guides

← Back to all posts

Keep reading