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