Advertisement:

Author Topic: Avatar displays sideways  (Read 163 times)

Offline tdennis

  • Jr. Member
  • **
  • Posts: 216
Avatar displays sideways
« on: November 30, 2019, 07:50:46 AM »
I am sure someone has posted this but if so I could not find it in my search results.

I have a member that has uploaded a photo for his avatar and it displays sideways. I saw no settings to correct this. I am wondering if the uploaded photos are always displayed in landscape mode i.e. long sides always top and bottom regardless of position of photos being uploaded.
Dennis

Offline Antechinus

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 24,858
  • Master of BBC Abuse
Re: Avatar displays sideways
« Reply #1 on: November 30, 2019, 08:01:55 AM »
The problem will be that he uploaded it from a device that automatically corrects for orientation. In other words, he would have taken the shot "sideways", or saved the file "sideways", but not realised this due to the device auto-correcting the orientation. So, when he uploads it to SMF it displays with its true orientation rather than hiding it.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: Avatar displays sideways
« Reply #2 on: November 30, 2019, 08:02:25 AM »
No, it would have been uploaded from a phone where the rotation is actually separate from the image data and desktop browsers never process it correctly. Without a non trivial change to SMF, your option is to download it, rotate it and reupload it. SMF is not ever aware of this.

The rotation is never entirely consistent but is derived from how the given device’s camera is oriented inside the device with rotation corrected in software rather than the saved picture data.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline tdennis

  • Jr. Member
  • **
  • Posts: 216
Re: Avatar displays sideways
« Reply #3 on: December 02, 2019, 01:45:32 PM »
Thanks, good information to know.
Dennis