1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Uploaded images get rotated

Discussion in 'Troubleshooting and Problems' started by gavpeds, Aug 28, 2016.

  1. gavpeds

    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.
  2. Mike

    Mike XenForo Developer Staff Member

    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).
  3. Chris D

    Chris D XenForo Developer Staff Member

    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:

  4. gavpeds

    gavpeds Active Member

    Exif was missing sorted now thanks.

Share This Page