Previous Thread
Next Thread
Print Thread
Hop To
Joined: Apr 2004
Posts: 1,822
Likes: 105
isaac Offline OP
UBB.threads Developer
OP Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,822
Likes: 105
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

Attached Images
2019-07-26 08.51.40.jpg 2019-07-26 08.51.40.jpg

Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Work In Progress: soon
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Apr 2004
Posts: 1,822
Likes: 105
isaac Offline OP
UBB.threads Developer
OP Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,822
Likes: 105
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

Attached Images
2019-07-26 08.51.40.jpg 2019-07-26 08.51.40.jpg

Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Work In Progress: soon
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Apr 2004
Posts: 1,822
Likes: 105
isaac Offline OP
UBB.threads Developer
OP Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,822
Likes: 105
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

Attached Images
2019-07-26 08.51.40.jpg 2019-07-26 08.51.40.jpg

Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Work In Progress: soon
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Dec 2003
Posts: 6,278
Likes: 45
Online Yawn
Joined: Dec 2003
Posts: 6,278
Likes: 45
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
v7.7.5 Active Topics Display Name Incorrect
by Jake - 11/17/2020 4:46 PM
custom islands in forums tool
by Ruben - 11/17/2020 3:21 PM
Captcha bug maybe?
by Morgan - 11/16/2020 8:34 AM
Facebook thumbnail issue
by DBryce - 11/08/2020 7:43 PM
No hop to menu in the category pages
by Morgan - 11/05/2020 4:19 PM
Who's Online Now
1 members (Ruben), 30 guests, and 59 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
gallery test
gallery test
by Mors, September 23
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 7.7.5