- Normal
- Rotate 90 degrees
- Rotate 180 degrees
- Rotate 270 degrees
We didn't used to pay much attention to this Orientation flag when we tried to edit or resize the images in older versions of Windows (XP, Vista, Windows 7), because the images would have been displayed exactly as described by the Orientation flag. For example, if a photo was taken with Orientation flag of "Rotate 90 degrees", it would be displayed as 90 degrees rotated in File Explorer:
When editing or resizing this particular image in Windows, we would know to rotate it 90 degrees anti-clockwise, so that when it's uploaded to a website, it would be displayed correctly.
There's really no need for us to see the "Orientation" flag in the JPG file because we can visually see how the picture has been rotated in File Explorer.
This completely changed for users who have upgraded to newer versions of Windows (Windows 8 or Windows 10). Microsoft has built in some intelligence in Windows 8 and Windows 10 so that the photos are always auto-rotated (on the fly) to the "Normal" view in File Explorer. For example, a photo that was taken with "Rotate 90 degrees" will show up as not rotated in File Explorer and we would not have known to rotate it:
This was not a problem for older versions of Windows (XP, Vista, Windows 7) because there was no built-in "smartness" in the operating system to auto-rotate the images to their "Normal" orientation when viewed in File Explorer. We can just eyeball the photos and manually rotate the ones that were rotated sideways. When the photos reach the foreign server, they are displayed just the way they were rotated in Windows. The older versions of Windows provide users with a WYSIWYG (what you see is what you get) view of the photos, while the newer versions of Windows don't. The newer versions of Windows are just too smart for their own good!
To work around this problem in Windows 8, 8.1, or 10, you will need to identify which photos were rotated by looking at the Orientation flag in File Explorer.
Here's how to view the flag:
1) Open File Explorer and browse to the folder where the JPG files are located.
2) Go to the View menu on top and click on Details (or you can just right-click anywhere on the right panel and select View, Details).
3) Go to the View menu again, but this time click on "Add Columns" and then "Choose Columns".
4) Scroll down to Orientation and check the checkbox next to it and click on "OK".
5) The "Orientation" column will be displayed on File Explorer and you will be able to determine which pictures need to be manually rotated.
For the images with Orientation of "Normal", you can simply leave them alone. You just need to rotate the ones with Orientation of "Rotate x degrees". You can right click on the jpg file and choose "Open with" and then choose "Paint". (Do not use the "Rotate Right" or "Rotate Left" options as they don't physically rotate the picture file for you. They merely update the Orientation flag, which does not help with our situation.)
Once the file is opened in Paint, you will see that the picture is already in the "Normal" orientation:
Do not perform any rotation at this point. Just click on the "Save" button at the top left corner. After you have clicked on the "Save" button in Paint, you will see that the "Orientation" flag is now set to Normal:
We did not actually rotate the picture in Paint, but just by clicking on the "Save" button, it auto-magically rotated the picture for us and set the Orientation flag to Normal. You can perform other manipulations (like resizing, cropping, retouching) on the image at this point, and it's going to be displayed correctly when you upload it to other websites.