Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 11778
Latest: robgratt
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 40981
Total Topics: 7173
Most Online Today: 32
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 36
Total: 36

Author Topic: Attachment images Upsidedown or Sideways  (Read 1910 times)

0 Members and 1 Guest are viewing this topic.

Offline SeaChaser

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • ArimaOwners
Attachment images Upsidedown or Sideways
« on: August 18, 2020, 02:40:02 pm »
Many of the attachment photos are displayed upside down or side ways in the user's post but clicking on the link they are right side up.

Is there a fix for this or is it related to how their holding their phone?

example: http://www.arimaowners.com/index.php?topic=19247.25#lastPost

go to post #29.

Thanks in advance!

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15464
    • View Profile
Re: Attachment images Upsidedown or Sideways
« Reply #1 on: August 18, 2020, 05:41:07 pm »
There was a mod at one point that rotates the image based on the exif information in the photo if it is a jpeg information to fix the orientation
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Shades

  • SMF Gallery Pro Customer
  • Newbie
  • *****
  • Posts: 24
  • Community Suite Customer
    • View Profile
    • Bikerhound.com
Re: Attachment images Upsidedown or Sideways
« Reply #2 on: September 26, 2020, 07:36:34 am »
This is a really annoying issue with my gallery too. Some images are sideways while others are right side up. Any fix for this? (pics below)

BikerHound.com
Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15464
    • View Profile
Re: Attachment images Upsidedown or Sideways
« Reply #3 on: September 26, 2020, 09:57:37 am »
It's based on the picture orientation. There is a rotate feature if you edit the picture.
You can rotate based on x number of degrees. Try rotating by 90 degrees

We could do it automatically based on EXIF information just requires the php extension exif to be installed.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Shades

  • SMF Gallery Pro Customer
  • Newbie
  • *****
  • Posts: 24
  • Community Suite Customer
    • View Profile
    • Bikerhound.com
Re: Attachment images Upsidedown or Sideways
« Reply #4 on: September 26, 2020, 01:01:50 pm »
Ok that worked i didn't see the rotate part first time. But that can be a pain if I bulk upload and have to go back in and edit to rotate each one. I tried adjusting the size of image allowed but that didnt help either. What would be the correct orientation for the image? Or how can we install the php extension EXIF?

BikerHound.com
Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15464
    • View Profile
Re: Attachment images Upsidedown or Sideways
« Reply #5 on: September 26, 2020, 01:23:04 pm »
I would have to add a setting to automatically do so. if you can send over a couple example pictures that are flipped can do that for testing.

EXIF might be complied already in your php. You can check under Admin --> Gallery Configuration -> Settings -> EXIF it if is not installed it will say something.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Shades

  • SMF Gallery Pro Customer
  • Newbie
  • *****
  • Posts: 24
  • Community Suite Customer
    • View Profile
    • Bikerhound.com
Re: Attachment images Upsidedown or Sideways
« Reply #6 on: September 26, 2020, 01:41:33 pm »
Looks like "Enable EXIF on Display" was unchecked so do I need to put a check there and then what? Here are two images that keep flipping...

BikerHound.com
Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15464
    • View Profile
Re: Attachment images Upsidedown or Sideways
« Reply #7 on: September 26, 2020, 02:32:12 pm »
No you don't need to check. Have to see if there is exif data then add a setting to auto rotate.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15464
    • View Profile
Re: Attachment images Upsidedown or Sideways
« Reply #8 on: September 26, 2020, 06:09:02 pm »
Posted an update to handle some conditions and auto rotate them.
9.0 beta 2
+Added auto rotation based on EXIF settings. If EXIF is enabled.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Shades

  • SMF Gallery Pro Customer
  • Newbie
  • *****
  • Posts: 24
  • Community Suite Customer
    • View Profile
    • Bikerhound.com
Re: Attachment images Upsidedown or Sideways
« Reply #9 on: September 26, 2020, 10:15:29 pm »
Im new here and looked around for the update but all i can find is 8.0. Also my gallery settings says Your Version: 9.0beta1 Latest Version: 8.0.8 Your gallery version is not up to date! :o

BikerHound.com
Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Offline Hatshepsut

  • SMF Gallery Pro Customer
  • Newbie
  • *****
  • Posts: 30
    • View Profile
    • Bulgarian Nationalist Forum
Re: Attachment images Upsidedown or Sideways
« Reply #10 on: September 26, 2020, 10:36:53 pm »
Im new here and looked around for the update but all i can find is 8.0. Also my gallery settings says Your Version: 9.0beta1 Latest Version: 8.0.8 Your gallery version is not up to date! :o

See attached file in first post in this topic:

https://www.smfhacks.com/index.php/topic,9539.msg41642.html#msg41642

The Gallery settings determine last stable version (8.0.8 ) only, because 9.0 version is still in beta state.
Like Like x 1 View List

Offline Shades

  • SMF Gallery Pro Customer
  • Newbie
  • *****
  • Posts: 24
  • Community Suite Customer
    • View Profile
    • Bikerhound.com
Re: Attachment images Upsidedown or Sideways
« Reply #11 on: September 27, 2020, 07:01:31 am »
Ok thank you!

BikerHound.com
Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
6463 Views
Last post September 25, 2006, 08:11:46 am
by SMFHacks
14 Replies
13764 Views
Last post May 31, 2011, 12:25:39 pm
by Yannick95
1 Replies
2222 Views
Last post April 14, 2010, 03:42:56 pm
by SMFHacks
23 Replies
9691 Views
Last post October 17, 2010, 10:55:57 am
by SMFHacks
2 Replies
3309 Views
Last post August 18, 2014, 03:21:52 pm
by Michel68

+- Recent Topics

Where are original uploaded files stored? by robgratt
June 20, 2021, 12:41:48 pm

Errors for nonexistent members by Krash
June 14, 2021, 09:51:47 pm

Error message: cannot access upload path by SMFHacks
June 08, 2021, 10:06:22 am

How to change order of the Classifieds board by SMFHacks
May 31, 2021, 09:57:36 am

Standard version of Downloads mod value missing by SMFHacks
May 25, 2021, 11:32:48 pm

Privacy Link by SMFHacks
May 14, 2021, 11:11:51 am

Gallery font by SMFHacks
May 13, 2021, 09:58:02 am

Mod Using Google App Script by T7i
May 09, 2021, 08:19:03 pm

Guest has high bid? by Shades
May 06, 2021, 01:36:08 pm

Simple Portal Block - Classifieds by Shades
May 06, 2021, 12:24:32 pm

Powered by EzPortal