NZyan Posted September 12, 2022 Posted September 12, 2022 On 9/5/2022 at 9:14 AM, Marc Stridgen said: This being the case, you would need to take this up with your hosting provider unfortunately Hm, any hints which points to check?
Marc Posted September 12, 2022 Posted September 12, 2022 29 minutes ago, NZyan said: Hm, any hints which points to check? Unfortunately, without investigating, it would be impossible to say. That would really be an investigation for your hosting company.
Andy Millne Posted September 16, 2022 Posted September 16, 2022 Which version of iOS are you using? I'm not able to replicate this in my development environment with new photos taken with an iPhone 13 running iOS 16. I am however able to replicate it with the images in the portrait.zip file in this topic which suggests the problem is likely with the images themselves.
Genestoy Posted September 20, 2022 Posted September 20, 2022 After all these years users with iphones uploading pics are still upside down, just happened on my forum again and exif is enabled with PHP 8.0 SJ77 1
Clover13 Posted May 17, 2023 Posted May 17, 2023 Sorry to bump an old topic but members running into this. Images flipped 180 degrees. IPS 4.7.10 BrowserSafari 15.6.1 on iPhone Mozilla/5.0 (iPhone; CPU iPhone OS 15_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.1 Mobile/15E148 Safari/604.1
Marc Posted May 17, 2023 Posted May 17, 2023 Have you checked to ensure that you have the exif php extensions running?
Clover13 Posted May 17, 2023 Posted May 17, 2023 4 hours ago, Marc Stridgen said: Have you checked to ensure that you have the exif php extensions running? Yes it is, and this particular image was a JPEG
Marc Posted May 18, 2023 Posted May 18, 2023 I would need to see a link to the item itself in order to advise on this
Michel_72 Posted September 15 Posted September 15 (edited) Iphone image, falsly rotated, gd, imagick, mbstring and exif installed and working correctly: https://www.sat4all.com/forums/topic/381800-test/ Edited September 15 by Michel_72
Marc Posted September 16 Posted September 16 Please could you also zip and attach the original image here, so I can take a look at what it contains
Michel_72 Posted September 16 Posted September 16 As it contains sensitive location info, I'll send it to you directly.
Marc Posted September 16 Posted September 16 I have just tested this both on my own instance and on an instance here, and both rotate. Unfortunately, it seems its your server that is not reading the information, which would be a hosting related issue
Michel_72 Posted September 16 Posted September 16 Yes, I tried uploading it here and it does in fact seem to work correctly here. I just wonder what is missing then. How could I check as mbstring, imagick, gd and exif are installed and enabled ( I checked php info)
Marc Posted September 16 Posted September 16 Its none of those that are needed. Its the EXIF PHP extension
Marc Posted September 16 Posted September 16 Not sure what else we can really do to assist here unfortunately. As you have seen the software itself is working as expected, even with the image example given. The only difference here is the exif reading on your own server
Michel_72 Posted September 16 Posted September 16 This can not be related to any (resize) image setting in the ACP?
Marc Posted September 16 Posted September 16 There is no setting to stop the software rotating images on the platform.
Michel_72 Posted September 18 Posted September 18 I have again checked all relevant PHP extensions and settings. It al seems to be setup correctly. Anyone else have any clue as to what might be causing this issue? System is a Debian 12 server running PHP 8.2.23 and apache2.
Jim M Posted September 18 Posted September 18 4 minutes ago, Michel_72 said: System is a Debian 12 server running PHP 8.2.23 and apache2. PHP 8.2 is not supported yet. PHP 8.1 is recommended.
Michel_72 Posted September 18 Posted September 18 (edited) ? PHP 8.1 was released in 2021. Latest is PHP 8.3 which was released on November 23rd 2023 Debian 12 comes with 8.2 and Debian is known to be slow 😉 I'm not about to downgrade. Edited September 18 by Michel_72
Jim M Posted September 18 Posted September 18 PHP 8.1 is still supported by PHP. Simply because there are new versions of PHP out there does not mean the software supports it. If you do not wish to downgrade then you will have functionality issues on your community and those will remain out of support.
Michel_72 Posted September 18 Posted September 18 (edited) Well, I'm still hoping for a community member to be helpful in resolving the issue. I must be something simple... Edited September 18 by Michel_72
Marc Posted September 19 Posted September 19 12 hours ago, Michel_72 said: Well, I'm still hoping for a community member to be helpful in resolving the issue. I must be something simple... I think you may be missing the point here. The software itself does not support PHP 8.2. Things will break.
Michel_72 Posted September 19 Posted September 19 Then why did this work fine before? I am running php8.2 since I am on debian 12, I think about a year and this rotate issue surfaced since a few months ago. Since then I have been running apt update && upgrade and Invision Community updates, so one of those are likely candidates as a source of the problem. Will all due respect, you are not helping much. I rather have some useful suggestions, either from you or from another community member.
Recommended Posts