Re: wrong direction of images Reply #15 – July 20, 2017, 12:20:43 pm Are you running GD2 or Imagik for your image processing? If GD2, you also need to have the php exif extension loaded.
Re: wrong direction of images Reply #16 – July 21, 2017, 12:56:33 am Here's what my PHP-Info says:GD Support enabled GD Version bundled (2.1.0 compatible) FreeType Support enabled FreeType Linkage with freetype FreeType Version 2.4.8 T1Lib Support enabled GIF Read Support enabled GIF Create Support enabled JPEG Support enabled libJPEG Version 8 PNG Support enabled libPNG Version 1.2.46 WBMP Support enabled XPM Support enabled libXpm Version 30411 XBM Support enabled WebP Support enabled EXIF Support enabled EXIF Version 1.4 $Id: 1c8772f76be691b7b3f77ca31eb788a2abbcefe5 $ Supported EXIF Version 0220 Supported filetypes JPEG,TIFF imagick module version 3.4.1 imagick classes Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator Imagick compiled with ImageMagick version ImageMagick 6.6.9-7 2014-03-06 Q16 http://www.imagemagick.org Imagick using ImageMagick library version ImageMagick 6.6.9-7 2017-03-14 Q16 http://www.imagemagick.org ImageMagick copyright Copyright (C) 1999-2011 ImageMagick Studio LLC ImageMagick release date 2017-03-14 ImageMagick number of supported formats: 206 What's running, GD or Imagick? Or both? I don't know. But if EXIF is only enabled for JPEG and TIFF, maybe that's the problem? Shouldn't it be enabled too for JPG?
Re: wrong direction of images Reply #17 – July 21, 2017, 07:40:39 am The system will choose Imagick over GD when both are available. Looks like you have all the needed prerequisites on the server to do the rotation so ......... not sure. Could still be a bug that is preventing or skipping the rotation (we had and fixed one of those), or a bad image (sometimes an image rotation was "fixed" by a program that does not update the orientation flag). Any way I could get the original image to test so I can see what may be occurring?
Re: wrong direction of images Reply #18 – July 24, 2017, 12:50:25 am Sure. You can see/dopwnload it in the post itself:http://forum-alternative-antriebe.de/index.php/topic,7062.msg117144.html#msg117144(it's the last one with the yellow cab)I also downloaded it for you and attached it here. But here it is in the right direction, in my board not.
Re: wrong direction of images Reply #19 – July 24, 2017, 03:10:58 am I think Spuds asked for the original image, not the image published on your forum or resized by your forum.You should ask your member to send it by mail, better if zipped, just to be sure that email client did not modify in any way that image.Have you tried this?Quote from: radu81 – July 05, 2017, 02:45:37 amYou can do a test using these images: https://github.com/recurser/exif-orientation-examples
Re: wrong direction of images Reply #20 – July 24, 2017, 03:34:52 am Thanks, radu, I asked for the image.No, I haven't tried them yet. I will soon.
Re: wrong direction of images Reply #22 – July 25, 2017, 05:51:38 am @Jorin on my forum the image is correctly rotated (thumbnail and full image)
Re: wrong direction of images Reply #23 – July 25, 2017, 06:19:52 am It seems to depend on the browser.
Re: wrong direction of images Reply #24 – July 25, 2017, 07:28:21 am Thank you for the photo ... that will help. I can at least confirm that the EXIF data on your site shows the photo is rotated 180, which means the orientation function did not, or failed, to run. If it had run, it would set the flag as a normal image. With that flag at 180 its up the the viewing application to use it or not, some do, some don't. That of course is why we have the rotation function to begin with.I can also confirm that you site is running the imagick functions.I think you also use the image resize addon, please confirm.
Re: wrong direction of images Reply #25 – July 26, 2017, 02:46:37 am Quote from: Spuds – July 25, 2017, 07:28:21 amI think you also use the image resize addon, please confirm.Yes, I do.
Re: wrong direction of images Reply #26 – July 26, 2017, 08:55:16 pm I have this sorted, at least I think so.The problem is an incompatibility between the 1.0.10 rotation updates and the attachment image resize addon under certain conditions. Easy fix but want to do a few more tests before I release an update.
Re: wrong direction of images Reply #27 – July 27, 2017, 09:35:32 am Updated to v1.0.4 .... get it here: http://addons.elkarte.net/utility/Attachment-Resize.htmlDownload the new package or use the package server function, Uninstall 1.0.3 and install 1.0.4 ...
Re: wrong direction of images Reply #28 – July 28, 2017, 02:19:45 am Quote from: Jorin – July 24, 2017, 12:50:25 amSure. You can see/dopwnload it in the post itself:http://forum-alternative-antriebe.de/index.php/topic,7062.msg117144.html#msg117144(it's the last one with the yellow cab)I deinstalled my 1.0.2 and installed your 1.0.4, but still the wrong direction (using latest Chrome Browser) of the thumbnail. The image itself, if clicked on the thumbnail, is rotated correct.
Re: wrong direction of images Reply #29 – July 28, 2017, 02:33:21 am Did you upload again the picture?I think the correction is applied when the image is uploaded (but I may be wrong!).