XF 1.5 Uploaded images get rotated

gavpeds

Active member
I wonder if anyone has a clue with this?

I have a few users reporting that when they upload an image it gets rotated either 90 or 180 degrees.

I have recently update to php7 with redis and also installed the good for nothing kraken adon. Not sure if any of these will be causing it but was fine before.
 
Can you get the original (pre-rotated) version of the image and upload/reproduce it here?

We do rotation based on the EXIF tags in the image. If those are incorrect, that would cause it, but that would really be a bug in the source image itself (as many programs rotate based on EXIF data).
 
The update to PHP 7 could be related if PHP has been compiled without the EXIF functions.

What you are describing as the images being rotated, could actually be the fact that they are not being rotated where they used to be.

Check phpinfo (admin.php?tools/phpinfo).

If EXIF functions are available you should see something similar to:

upload_2016-8-28_22-30-9.webp
 
Top Bottom