Jump to content

Featured Replies

  • 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.

  • 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.

 

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.

  • 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.

 

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.

  • Community Expert

Ive flagged this for our developers to take a look at to see if they can make any suggestions

  • Author
 

Ive flagged this for our developers to take a look at to see if they can make any suggestions

Thank you

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).

  • 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?

 

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:

image.png

It's just a couple of users for some reason, all others seem to be fine.

  • 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.

  • 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.2

https://squarewheelscycling.com/index.php?/topic/192513-upside-down-pics/

These are mostly from 5.0.3

https://squarewheelscycling.com/index.php?/topic/192564-upside-down-pics-again/

As you'll see, people are often not serious on this site.

Thank you

  • 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.

  • 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.

Excellent. Confirmed this as well last night when adding a profile cover photo.

  • 2 weeks later...

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:

5a904c7dd2fdb0195ca9cf657d67c2d5842bbc58ccf88f22b8a95bdd5c71ed853b4394ae6a51024a?t=8238e35af62d22213fa77d104bf100f8

dd776db90c5f11ac5b67e3b3a94075be8b5504978ebfe2613f3a1510d003f0b2c4a87ad380e4b470?t=21fb6c8e1a1bb00740c439af0b36135a
be33dbfd06ad3d92db3369df4ac2f0393b1cf70379ffaaff8caf6050302b5ac082870f7c2c7403f4?t=9c979ba4b3d7ad520a8aedfbce3ba130

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.

  • 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:

5a904c7dd2fdb0195ca9cf657d67c2d5842bbc58ccf88f22b8a95bdd5c71ed853b4394ae6a51024a?t=8238e35af62d22213fa77d104bf100f8

dd776db90c5f11ac5b67e3b3a94075be8b5504978ebfe2613f3a1510d003f0b2c4a87ad380e4b470?t=21fb6c8e1a1bb00740c439af0b36135a
be33dbfd06ad3d92db3369df4ac2f0393b1cf70379ffaaff8caf6050302b5ac082870f7c2c7403f4?t=9c979ba4b3d7ad520a8aedfbce3ba130

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

Recently Browsing 0

  • No registered users viewing this page.