Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Gauravk Posted October 20, 2016 Posted October 20, 2016 Since long few of our members using iPhone are suffering that photos taken from iPhone upload sideways and not in correct orientation. I have tested myself that my iPhone 6 display the correct orientation before taking picture, I click the picture it shows me also correct portrait orientation but when I upload directly from my phone it goes sideways into landscape orientation. Reported this to support since long, but no action other than closing the ticket after a while. Appreciate if someone can share some fixes, work around or plugin to permanently cure this issue. It is getting very embarrassing for us now. Sample: https://carnity.com/topic/11707-i-left-my-phone-on-the-charger/ (Dont navigate from this page, as our community offering first two clicks free only for guest).
marklcfc Posted October 20, 2016 Posted October 20, 2016 I get sideways pictures posted almost daily. If I plug my iPhone into my PC and copy the files over I have to rotate every single one as they too are all sideways.
Marcher Technologies Posted October 20, 2016 Posted October 20, 2016 Make sure the php-exif PHP extension is installed as well. Without it, the code cannot read the necessary exif data so that the image handling suite in use can properly handle it.
Gauravk Posted October 20, 2016 Author Posted October 20, 2016 @CP_User thanks for prompt reply, but that link and content I have already read and tried and still no luck. @Marcher Technologies for trying your suggestion can you please advise which option to add and what to what there in WHM...? Thanks in advance.
Marcher Technologies Posted October 20, 2016 Posted October 20, 2016 Hello @Gauravk, By that screenshot php-exif is installed, as the configuration options would not be present if it was not. I would suggest submitting a ticket, having ruled out the linked topic as cause, as this could be something on your install, or a more widespread issue needing dealt with. Regards.
Tracy Perry Posted October 28, 2016 Posted October 28, 2016 @Gauravk Would it also not depend on the image processor chosen? If I remember correctly, GD strips the EXIF information when the image is saved from being resized. ImageMagick does not do that unless specifically told to. Maybe installing ImageMagick and the Imagick PHP PECL? I know this link isn't IPS specific, but it does talk about GD and EXIFhttp://wordpress.stackexchange.com/questions/223357/keep-image-exif-info-after-compressing-original-image EDIT: Well, I tested and it maintains the rotation aspect as taken.. I know XenForo made a change in their code (00:15 - 01:12 in video of linked post) back in version 1.3 to allow auto-rotation of images. So it looks like it may require a code change in the IPS script?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.