← Back to User Guide

How can I fix the orientation of my product images?

When you take a photo on a smartphone, especially while holding it vertically (portrait), the phone saves the image data in a default orientation (usually landscape) and adds an EXIF metadata tag that says: “This image should be rotated 90° to display correctly.”

This EXIF tag does not actually rotate the pixels in the image. It tells software how to rotate the image when displaying it, so that the image looks “normal” to the user. Browsers and photo apps read this tag and rotate the image automatically.

Onsight reads the EXIF tag and rotates photos taken in portrait or landscape to match how you held the phone. Onsight only does this when it is confident the tag is correct. If an image has already been rotated in an image editor, or the tag looks unreliable, Onsight shows the image exactly as it was saved. This prevents images that were already fixed manually from being rotated a second time. In addition, Onsight does not apply the tag to photos that are upside down / flipped (rotated 180°). These are shown as they were saved by the camera.

This means that in the vast majority of cases, photos will automatically be rotated correctly and appear as expected. However, a photo may still appear sideways or upside down in Onsight in these cases:

  • The photo was taken with the phone upside down. Onsight does not rotate photos tagged as upside down.
  • The photo was cropped or resized on the phone or in an app. The size recorded in the photo no longer matches the image, so Onsight treats the rotation tag as unreliable and shows the photo as saved.
  • The photo was edited in an app that removes some of the photo’s metadata, in a way that makes Onsight unsure about the rotation.

If this happens, you can fix it in either of these ways:

  • Change how you hold the phone. Hold it horizontally (landscape) instead of vertically (portrait), or the other way around.
  • Change the orientation in your favourite image editor, make sure the editor saves the result, and re-upload the image into Onsight.