Previous Thread
Next Thread
Print Thread
Hop To
Joined: Apr 2004
Posts: 1,973
Likes: 154
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,973
Likes: 154
The images in this set of three posts were taken by an iPhone.


UBB.threads 7.7.2 and older
Without JPEG image orientation fixes

IMAGE 1 ORIENTATION with GD2
Firefox: Wrong
Chrome: Wrong
Safari: Wrong
Edge: Wrong.

vs

IMAGE 2 ORIENTATION with ImageMagick
Firefox: Wrong
Chrome: Wrong
Safari: Good, but displays incorrectly in Lightbox viewer because of wrong EXIF data.
Edge: Wrong
Attachments
2019-07-26 08.51.40.jpg 2019-07-26 08.51.40.jpg


current developer of UBB.threads php forum software
current release: UBB.threads 8.0.0 // wip: UBB.threads 8.0.1
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Apr 2004
Posts: 1,973
Likes: 154
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,973
Likes: 154
UBBCentral does not have the PHP exif_read_data function installed/enabled (uncommon).
https://www.php.net/manual/en/function.exif-read-data.php

This is a demo of what happens in that case.


UBB.threads 7.7.3 and newer, with jpeg image orientation fixes

IMAGE 1 ORIENTATION with GD2, function_exists('exif_read_data') = false
Firefox: Wrong
Chrome: Wrong
Safari: Wrong
Edge: Wrong

vs

IMAGE 2 ORIENTATION with ImageMagick, function_exists('exif_read_data') = false
Firefox: Good
Chrome: Good
Safari: Good
Edge: Good
Attachments
2019-07-26 08.51.40.jpg 2019-07-26 08.51.40.jpg


current developer of UBB.threads php forum software
current release: UBB.threads 8.0.0 // wip: UBB.threads 8.0.1
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Apr 2004
Posts: 1,973
Likes: 154
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,973
Likes: 154
This is a demo of the PHP exif_read_data function installed and enabled.


UBB.threads 7.7.3 and newer, with jpeg image orientation fixes

IMAGE 1 ORIENTATION with GD2, function_exists('exif_read_data') = true
Firefox: Good
Chrome: Good
Safari: Good
Edge: Good

vs

IMAGE 2 ORIENTATION with ImageMagick, function_exists('exif_read_data') = true
Firefox: Good
Chrome: Good
Safari: Good
Edge: Good
Attachments
2019-07-26 08.51.40.jpg 2019-07-26 08.51.40.jpg


current developer of UBB.threads php forum software
current release: UBB.threads 8.0.0 // wip: UBB.threads 8.0.1
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Dec 2003
Posts: 6,624
Likes: 84
Joined: Dec 2003
Posts: 6,624
Likes: 84
Impressive.
So this fixes orientation for any picture with the phone upright,sideways or upside down?


Blue Man Group
There is no such thing as stupid questions. Just stupid answers

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Another error
by Baldeagle - 10/07/2024 9:08 PM
Is this a cookie issue?
by Baldeagle - 10/05/2024 2:01 PM
Search button not there
by ehill - 10/02/2024 2:56 PM
Change the Order of the buttons in a post
by Unixspot - 09/19/2024 10:04 PM
Purging logs does not work
by Baldeagle - 09/12/2024 5:16 PM
Who's Online Now
1 members (Gizmo), 648 guests, and 53 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)