Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted February 23Feb 23 I updated to v5 on Friday. Now lots of pics are getting posted upside down.I was on php 8.0.x.My host confirmed EXIF is installed and working properly.They suggested I upgrade my php, I am now on 8.1.31.Here is an example page: https://squarewheelscycling.com/index.php?/topic/192513-upside-down-pics/Suggestions?
February 24Feb 24 Community Expert If you have updated your PHP instance and its now not working, it would generally mean that the EXIF extension isnt working correctly on that PHP version. Check the images here in the test area to see if those same images are working.
February 24Feb 24 Author Sorry for not being clear.It was working fine in v4.I update to v5.Many people starting having the issue.I asked my host if EXIF was working, he said yes, and suggested upgrading to php 8.1 to see if that would help.It did not.
February 24Feb 24 Sorry for not being clear.It was working fine in v4.I update to v5.Many people starting having the issue.I asked my host if EXIF was working, he said yes, and suggested upgrading to php 8.1 to see if that would help.It did not.We were having a similar issue after upgrading to v5 using PHP 8.2. We rolled back to 8.1 and it resolved our issue.
February 24Feb 24 Author We were having a similar issue after upgrading to v5 using PHP 8.2. We rolled back to 8.1 and it resolved our issue.Thanks, but as you see above, the issue started when I went from v4 to v5. I did not touch php at that time.I asked my host to confirm EXIF was working properly, they said it was and at that point suggested going to php 8.1.
February 24Feb 24 Thanks, but as you see above, the issue started when I went from v4 to v5. I did not touch php at that time.I asked my host to confirm EXIF was working properly, they said it was and at that point suggested going to php 8.1.Yes, exactly what happened to us. It was working fine in v4. We upgraded to v5 without changing any settings, or PHP versions and photos started posting upsidedown.. We were on PHP 8.2 when we upgraded to v5. We tried going back to 8.1 and it worked for us. We also have 8.3 and 8.4 installed on the server, but haven't tried either of them yet.
February 24Feb 24 Community Expert Ive flagged this for our developers to take a look at to see if they can make any suggestions
February 24Feb 24 Author Ive flagged this for our developers to take a look at to see if they can make any suggestionsThank you
February 24Feb 24 Yes this is also happening for some of my members too.I'm still using php 8.1 (a requirement of some other software I am using in the short term).
February 25Feb 25 Community Expert Yes this is also happening for some of my members too.I'm still using php 8.1 (a requirement of some other software I am using in the short term).Have you validated the steps above with your hosting provider with EXIF?
February 25Feb 25 Have you validated the steps above with your hosting provider with EXIF?I have (they confirm it is working as expected on their end), and can see it enabled for 8.1:It's just a couple of users for some reason, all others seem to be fine.
February 26Feb 26 Management Thanks, but as you see above, the issue started when I went from v4 to v5. I did not touch php at that time.I asked my host to confirm EXIF was working properly, they said it was and at that point suggested going to php 8.1.Can you check your FTP and ACP information in your client area please? I'd like to test on your site as I can't reproduce it locally.
February 26Feb 26 Author Can you check your FTP and ACP information in your client area please? I'd like to test on your site as I can't reproduce it locally.Thank you, it should be updated now.These are mostly from 5.0.2https://squarewheelscycling.com/index.php?/topic/192513-upside-down-pics/These are mostly from 5.0.3https://squarewheelscycling.com/index.php?/topic/192564-upside-down-pics-again/As you'll see, people are often not serious on this site.Thank you
February 26Feb 26 Management I think I have it fixed. I've added the fix to your site, and I've added debugging so if someone does report an upside photo, let me know and I can look in the logs.
February 26Feb 26 Author I think I have it fixed. I've added the fix to your site, and I've added debugging so if someone does report an upside photo, let me know and I can look in the logs.Wow, that is fantastic!Thank you so much.
March 7Mar 7 We are still encountering upside-down photos from some members.Here is the response from my hosting provider (I noticed they only support JPEG and TIFF - not sure if that's an issue too?)Regarding the issue with images appearing upside down in your Invision Community forum, we have conducted a thorough investigation and confirmed that:EXIF is enabled on the server.The server is using the latest versions of:GD Library or ImageMagick for image processing.PHP 8.1, with exif_read_data() functioning correctly.For your reference, please find attached screenshots verifying these configurations:If the issue persists, we recommend you to Test Different Image Upload Methods:Try uploading the same image using a different browser or device.Check if EXIF orientation is stripped during upload.If using a CDN or caching plugin, clear cache and test again.If Orientation is missing, the EXIF data may have been removed before processing.If none of these steps resolve the issue, we recommend consulting Invision Community support for further assistance, as there may be additional settings within the forum software affecting image orientation.
March 10Mar 10 Community Expert We are still encountering upside-down photos from some members.Here is the response from my hosting provider (I noticed they only support JPEG and TIFF - not sure if that's an issue too?)Regarding the issue with images appearing upside down in your Invision Community forum, we have conducted a thorough investigation and confirmed that:EXIF is enabled on the server.The server is using the latest versions of:GD Library or ImageMagick for image processing.PHP 8.1, with exif_read_data() functioning correctly.For your reference, please find attached screenshots verifying these configurations:If the issue persists, we recommend you to Test Different Image Upload Methods:Try uploading the same image using a different browser or device.Check if EXIF orientation is stripped during upload.If using a CDN or caching plugin, clear cache and test again.If Orientation is missing, the EXIF data may have been removed before processing.If none of these steps resolve the issue, we recommend consulting Invision Community support for further assistance, as there may be additional settings within the forum software affecting image orientation.You wont have the fix on your site which Matt added above to a site for testing. This would be in a future release