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

XF 1.4 EXIF Rotation works with GD?

Discussion in 'XenForo Questions and Support' started by potito, Sep 20, 2014.

  1. potito

    potito Member

    Hi, In my forum some users complains because when they upload images directly from cellular or tablets, the image appears in bad position.

    I need to select the Imagemagick option in ACP to solve this problem?
    If I select the Imagemagick option, this extension change all current images, or only the new uploaded images?
  2. FredC

    FredC Well-Known Member

    This is likely specific to iOS devices but i dont think switching to "Imagemagick" is going to solve that problem.. I use Imagemagick on my own forums and this is still an ongoing problem on my sites..
    potito likes this.
  3. Chris D

    Chris D XenForo Developer Staff Member

    EXIF rotation will work with GD and does not require Image Magick.

    It should just work out of the box on JPG images.

    I'm surprised to hear this isn't working as expected as I believe I have seen it working correctly any time I have uploaded an image from my iPhone.

    If there are any images which aren't rotating as expected it may be worth uploading them here to see if you can reproduce the issue.
    potito likes this.
  4. FredC

    FredC Well-Known Member

    I think in my case it might be my gallery plugin.. (not yours) I dont recall the problem being thread related.. I do recall inquiring about this very issue in the past and the consensus was likely a server misconfiguration? its doesnt happen enough that its really a problem. But i digress, this isnt my thread..
    potito likes this.
  5. Chris D

    Chris D XenForo Developer Staff Member

    If you do notice it in the Gallery you use, try it uploaded to a post, just to check it works ok.

    It's been a while since I implemented EXIF rotation in Xen Media Gallery but I don't recall anything specifically server config related that would affect it.
    potito likes this.
  6. Mike

    Mike XenForo Developer Staff Member

    EXIF rotation does require the EXIF extension to be enabled in PHP (I believe it normally is).
    potito, FredC and Chris D like this.
  7. Floyd R Turbo

    Floyd R Turbo Well-Known Member

    I suddenly started seeing this issue with sporadic images on our forum www.greateriowareefsociety.org. Trying to diagnose the issue, will check the EXIF extension in WHM...
  8. Floyd R Turbo

    Floyd R Turbo Well-Known Member

    Hmm it doesn't appear that I have exif rotation installed, I don't see it on my list when I look at phpinfo...and I'm having a hard time finding it in WHM, any hints?

    NVM I found it, had to go through EasyApache, recompiling PHP now

    Yup that was it, working now
    Last edited: Oct 28, 2015
  9. RobinHood

    RobinHood Well-Known Member

    Did you guys figure out why some photos wouldn't rotate it the gallery? @FredC

    I'm having issues with Sonnb's XenGallery not rotating images. I have posted on his site, but I think he's busy at the mo, so trying to troubleshoot.

    I've got EXIF installed, and they show correctly in threads, but not when uploaded to the gallery.

    I'm using Easy Apache and multi php if that makes any difference, with V7 on this particular site.. All versions of php on the server have exif compiled with it.

  10. Chris D

    Chris D XenForo Developer Staff Member

    Based on what you've said, if it's working under normal conditions (e.g. uploading to a thread), it would point to the issue being with the add-on itself.
  11. RobinHood

    RobinHood Well-Known Member

    Just to add to that, they work fine on the gallery on his site and get rotated, so I think it is an issue with my server.
  12. RobinHood

    RobinHood Well-Known Member

    Yeah..that's what I thought too, but it works in the gallery on his site, so I'm kind of stumped
  13. Chris D

    Chris D XenForo Developer Staff Member

    I understand your reasoning there, but by the same token it can't be your server if it works for normal attachments.

    I would pursue this with the add-on author and your hosts if it's a server issue.
    RobinHood likes this.
  14. RobinHood

    RobinHood Well-Known Member

    Okey dokey, thanks

Share This Page