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

Implemented Auto rotate attached images

Discussion in 'Closed Suggestions' started by AndyB, Apr 9, 2013.

  1. AndyB

    AndyB Well-Known Member

    When we upload an image (using the Upload a File button) from an iPad or iPhone, the Xenforo software should check the EXIF and determine if the image needs to be orientated. This would prevent uploaded images from showing in the message in the incorrect orientation (ie: upside down or sideways).
  2. Rambro

    Rambro Well-Known Member

    YES! God, this is driving me nuts. Is there a temp fix for this? I tried changing image handlers and they're still all sideways.
    Adam Howard likes this.
  3. AndyB

    AndyB Well-Known Member

    I'm not aware of any addon or hack to fix this limitation.

    What do you mean by "I tried changing image handlers" ??
  4. Rambro

    Rambro Well-Known Member

    Changing from GD to ImageMagick. Someone (maybe Jake?) suggested trying it in a thread. I've been trying my google-fu at this for a few days now. No luck.
  5. AndyB

    AndyB Well-Known Member

    ImageMagick would be used to correct the orientation. The easiest way is to find the php code that checks the image is valid and add the ImageMagick code to correct the orientation.
  6. FredC

    FredC Well-Known Member

    That would be sweet.. This is also a huge pet peeve for me on my own site. My OCD just goes crazy.. I often resort to editing the post simply to save the photo and reupload it but i cant do that with my user albums plugin and it makes me crazy.
  7. lostincable

    lostincable Active Member

    YES I am for this doing my users heads in with miss orientated images!
  8. AndyB

    AndyB Well-Known Member

    I wrote a php script that takes two inputs, one the attachment number, the other is the direction you need to rotate the image. So when I run across an attachment that is oriented incorrectly, I call my script and in a few seconds the image is fixed.
  9. Rambro

    Rambro Well-Known Member

    this might as well be in German with as much understanding as I'm gleaming from it.
  10. Rambro

    Rambro Well-Known Member

    can you show us how to accomplish something like this?
  11. lostincable

    lostincable Active Member

    Yep would be keen as well :)!

    I really underestimated the amount of ipad users I had when switching from vb :)!
  12. lostincable

    lostincable Active Member

    Any info on that script if you would like to share?
  13. AndyB

    AndyB Well-Known Member

    TrevC likes this.
  14. Digital Doctor

    Digital Doctor Well-Known Member

    Add a link to this suggestion in the first post of your addon.
  15. SheepCow

    SheepCow Well-Known Member

    Adam Howard and DeltaHF like this.
  16. DeltaHF

    DeltaHF Well-Known Member

    Thanks very much for the add-on, @SheepCow.

    This really needs to be fixed in the core, though. It causes a lot of confusion for people, as this is handled transparently by nearly every other image hosting service out there.
  17. begreen

    begreen Member

    Agreed, the core app should have the fix. With the proliferation of these devices we are seeing 6-12 images a day from iPads and iPhones that need rotation correction.
  18. Rudy

    Rudy Well-Known Member

    With some of our members using those devices, I agree it needs to be fixed in the core.
  19. Brogan

    Brogan XenForo Moderator Staff Member

  20. viper357

    viper357 Active Member

    Why doesn't this work on my forum, my members are uploading sideways images all the time, is there a way to enable it?

Share This Page