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

XF 1.5 Images uploading in wrong orientation...

Discussion in 'Troubleshooting and Problems' started by LuvMeSumZen, Dec 24, 2015.

  1. LuvMeSumZen

    LuvMeSumZen Active Member

    I've had this problem for a while. After I resize and orient my images in my image editor, XF often uploads one or more of the images 90 degrees out of the saved orientation. No rhyme or reason that I can observe either.

    I just uploaded 18 images, all the same size, and all but 3 of them loaded 90 to the left or 90 to the right. Not sure if any of my settings have anything to do with it - can't see how but here they are...

    image settings.jpg

    Wow. It just did it here too.
  2. Chris D

    Chris D XenForo Developer Staff Member

    What is your image editor?

    If this happens on the majority of your images it suggests that it is arbitrarily hard coding the orientation (wrongly).
  3. LuvMeSumZen

    LuvMeSumZen Active Member

    I use paint on one computer and setelco on the other and it happens on both computers.
  4. Chris D

    Chris D XenForo Developer Staff Member

    Just to confirm;

    You create a screenshot, paste it into example MS Paint which comes with Windows, and you save it. It looks normal to you. Yet, when you upload it, even here, it comes out rotated?

    That's a rather odd thing to happen.
  5. LuvMeSumZen

    LuvMeSumZen Active Member

    Yes on your screenshot example, but it does so with uploads from my phone or save image from computer then go to paint or setelco or even when I use www.online-image-editor.com and do editing, then save the image and all is well until I upload to my forum from either the computer in my shop or the one in my house - doesn't seem to matter the image editor or computer.

    Thanks and any ideas?
  6. LuvMeSumZen

    LuvMeSumZen Active Member

    test . . .


  7. LuvMeSumZen

    LuvMeSumZen Active Member

    Worked that time - never can tell when it will or wont.
  8. Chris D

    Chris D XenForo Developer Staff Member

    Putting the screenshot stuff to one side...

    Can you check with your host to see if you have the exif extension enabled in PHP?

    This is the most common cause for images not auto rotating to the correct direction. Still doesn't explain the screenshot stuff...

    But check if that is enabled, if it isn't get it enabled, and once it is enabled you should try again with some phone uploads that previously didn't work on your site and see if it makes a difference.
    LuvMeSumZen likes this.
  9. LuvMeSumZen

    LuvMeSumZen Active Member

    Thanks Chris. I will check with my web guy as soon as he gets settled from his recent move and being the holidays and all.

    This is not critical I just thought I'd give it a shot. I will update this thread once he solves it. Thanks again for the replies.
    Chris D likes this.
  10. MattW

    MattW Well-Known Member

    Yes it has. Kevin has also uploaded the same image onto my support site, which is running nginx with php7, and it's doing the same thing. His site is hosted on Litespeed with PHP5.6
    LuvMeSumZen likes this.

Share This Page