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

Fixed ImageMagick and EXIF rotation

Discussion in 'Resolved Bug Reports' started by Moshe1010, Mar 29, 2014.

  1. Moshe1010

    Moshe1010 Well-Known Member

    When using ImageMagick and uploading an image that is rotated, the EXIF rotation feature that was integrated in 1.3 works fine if the image is viewed from the forum (in a lightbox/embed). However, if the image is opened in a new tab, the EXIF rotation doesn't work and the image is shown at a different direction.

    I've tested it here and on my test board with GD image library as well, and with this option enabled, direct links (image in a new tab) worked fine with EXIF rotation, so it looks like it's ImageMagick specific.

    Just in case, I'm using:
    imagick module version 3.1.2
    ImageMagick version ImageMagick 6.8.8-7 Q16 x86_64 2014-02-18 http://www.imagemagick.org

    The direct link EXIF rotation is basically important mostly to smartphones since there is no lightbox there, and every attachment is opened in a new window/tab.
  2. Mike

    Mike XenForo Developer Staff Member

    Fixed now. Looks like we need to run "$this->_image->stripImage();" when outputting the image.

Share This Page