Author Topic: Why some photos uploaded to the Railwire show up in wrong orientation?  (Read 4670 times)

0 Members and 1 Guest are viewing this topic.

peteski

  • Moderator
  • Crew
  • *
  • Posts: 32913
  • Gender: Male
  • Honorary Resident Curmudgeon
    • Coming (not so) soon...
This subject comes up fairly regularly, so here is the most probable explanation.

Photos in question are likely taken with a smart phone, and the forum software (and Microsoft Windows in general), do not play well with those photos.

This "problem" has existed (for several years) since Apple (and later other smart phone brands) OS started using the orientation tag in the JPG EXIF metadata to properly orient displayed photos.

https://www.howtogeek.com/254830/why-your-photos-dont-always-appear-correctly-rotated/

Expanding further, this problem with wrong photo orientation (as explained in the link above)  is not as much with the way you hold the phone, but it is in the way the phone saves the pixels in the JPG file.  Instead of storing the pixels in the same orientation as they were captured by the image sensor, they store all the pixels in a fixed orientation (whatever it is) regardless of what the image sensor captured, then they add a tag in the EXIF part of the JPG file, instructing whatever rendering program is used to view them to rotate the stored pixels if needed.

The old way (which worked for many years) was to have the pixel data stored in the same orientation as they were captured by the image sensor, and not use any EXIF tags.  Another example of making things more complicated than they should be.  Why not just use the KISS principle?

This problem is not just on this forum -- I have seen it elsewhere too.  And as far as editing (rotating) the photos goes, if you attached them to your post, nothing can be done. If you stored them in your TRW photo album, then can be edited and rotated, but IIRC, that doesn't seem to always work.
« Last Edit: April 18, 2023, 05:27:02 PM by peteski »
. . . 42 . . .

Chris333

  • Crew
  • *
  • Posts: 18390
Re: Why some photos uploaded to the Railwire show up in wrong orientation?
« Reply #1 on: February 28, 2022, 08:41:17 PM »
Never had a sideways pics because I upload all from a real computer  :)