Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12391
Latest: ACS
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 40455
Total Topics: 7111
Most Online Today: 226
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 61
Total: 61

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

0 Members and 1 Guest are viewing this topic.

Offline seachaser

  • Menu Editor Pro Customer
  • 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: 15217
    • 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: 11
    • 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: 15217
    • 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: 11
    • 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: 15217
    • 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: 11
    • 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: 15217
    • 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: 15217
    • 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: 11
    • 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: 23
    • 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: 11
    • 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
6358 Views
Last post September 25, 2006, 08:11:46 am
by SMFHacks
14 Replies
13391 Views
Last post May 31, 2011, 12:25:39 pm
by Yannick95
0 Replies
5527 Views
Last post April 12, 2010, 04:08:45 pm
by madman71
23 Replies
9409 Views
Last post October 17, 2010, 10:55:57 am
by SMFHacks
2 Replies
3210 Views
Last post August 18, 2014, 03:21:52 pm
by Michel68

+- Recent Topics

Problem mit PHP 7.3 + 7.4 by SMFHacks
November 26, 2020, 09:13:20 am

End of Year Sale SMFHacks 2020 by SMFHacks
November 24, 2020, 08:35:13 pm

[Mod] Tagging System by SMFHacks
November 23, 2020, 06:25:59 pm

Additional Recommendations for SMF Store by SMFHacks
November 20, 2020, 11:19:13 pm

smf gallery Pro --> link to yotube/vimeo? Web Responsive to clik images? by Rock Lee
November 19, 2020, 10:10:37 pm

Payment method by SMFHacks
November 10, 2020, 11:54:47 pm

Need Help with Coppermine Conversion by SMFHacks
November 04, 2020, 01:24:09 pm

Feature Request for Classifieds by SMFHacks
October 21, 2020, 10:30:17 pm

[Mod] ezPortal by Alistair
October 18, 2020, 11:00:17 am

ezPortal homepage on mobile browser (SMF 2.1 RC3) by Alistair
October 18, 2020, 05:47:56 am

Powered by EzPortal