Kevin, looking into this further, I think you may be running into an issue because you are using window 8.1 and the windows photo viewer to manually change the photo orientation.
There are two main ways to rotate a photo:
- Change the orientation meta tag in the photo exif data.
- Rotate the actual photo (pixels) and save it.
Almost all cameras and smartphones change the orientation by setting the orientation meta data in the exif. This is the go to standard and what web browsers read to display the photo correctly.
Unfortunately, older versions of windows do not read the exif orientation data and the default windows image viewer rotates images using process 2 above. See this support article from Microsoft: https://support.microsoft.com/en-us/help/2001954/picture-orientation-set-by-a-camera-is-not-honored-....
When you rotated the photo in Windows, you rotated the pixels but the exif data tells the browser to rotate it again so you get a double rotation. To fix this, try rotating the photo in windows back to the original orientation. Alternatively, you could try using a different photo editor to rotate your photos.