Invision Community 5: A video walkthrough creating a custom theme and homepage By Matt Thursday at 04:02 PM
Navigare Posted March 14, 2022 Posted March 14, 2022 (edited) We're experiencing this on our forum to, regardless of GD or ImageMagick being enabled and verified as running in phpinfo. This just used to to work but now photos taken on an iPhone in portrait mode uploads 90 degrees off, however the same photos uploaded to Invision's test forum are correctly aligned. Uploading the same photos to our forum from iCloud on a Windows PC also works. I'm confused, any advise on where to start troubleshooting would be highly appreciated. Edited March 14, 2022 by Navigare SJ77 and crmarks 1 1
Marc Posted March 14, 2022 Posted March 14, 2022 This can only be EXIF not working on your server. You would need to contact your hosting company to correct that
Navigare Posted March 14, 2022 Posted March 14, 2022 39 minutes ago, Marc Stridgen said: This can only be EXIF not working on your server. You would need to contact your hosting company to correct that phpinfo says it's enabled?
Marc Posted March 14, 2022 Posted March 14, 2022 While I can certainly see that on your screenshot there, it seems it is not working on your server
Navigare Posted March 14, 2022 Posted March 14, 2022 2 hours ago, Marc Stridgen said: While I can certainly see that on your screenshot there, it seems it is not working on your server I hear you.. I wrote a small exif php and I'm getting exif information from the server but I clearly is missing something obvious but just can't figure out what. It's only when uploading 'natively' from an iPhone I can reproduce this issue in our forum, if I transfer the file to a windows machine via cable, e-mail or iCloud the photo will upload with the correct rotation. And, as I wrote before, in your test forum it uploads correctly so there is something in our end but right now I'm clueless. 😞 crmarks 1
Jim M Posted March 14, 2022 Posted March 14, 2022 1 hour ago, Navigare said: I hear you.. I wrote a small exif php and I'm getting exif information from the server but I clearly is missing something obvious but just can't figure out what. It's only when uploading 'natively' from an iPhone I can reproduce this issue in our forum, if I transfer the file to a windows machine via cable, e-mail or iCloud the photo will upload with the correct rotation. And, as I wrote before, in your test forum it uploads correctly so there is something in our end but right now I'm clueless. 😞 I would recommend reaching out to your hosting provider or if you are self-managed, reaching out to a server administrator for assistance. Unfortunately, as this is a server issue rather than software, we are limited in our assistance.
crmarks Posted March 18, 2022 Posted March 18, 2022 On 3/1/2022 at 12:50 AM, Marc Stridgen said: If exif data is stripped, that would indeed happen, yes. This is because that is where the orientation data is kept. This said however, it would not explain the heic/jpg part of this. Also they are being uploaded here on our own community with the same issue On 3/8/2022 at 12:27 PM, autumnwalker said: Tried turning off the strip EXIF data on my board - issue persists. @crmarks if you disable on your board does it resolve the issue? @Marc Stridgen iOS is doing the HEIC conversion. When I attempt to upload the same photo from macOS it does not convert the file. When I attempt on my iOS device it converts to .jpeg. On 3/8/2022 at 4:02 PM, Emediate said: We've been chasing this problem down for some time too. I agree it's definitely HEIC and iPhone related. Can you tell me where you found that setting to strip EXIF data please? This is happening to iPhone users on my forum as well, on Invision’s hosting. I disabled exif data stripping from my ACP, but the issue remains either way. A recent iOS update must be the culprit? The orientation data is lost when iOS converts from heic to jpg for web compatibility.
Marc Posted March 18, 2022 Posted March 18, 2022 1 hour ago, crmarks said: This is happening to iPhone users on my forum as well, on Invision’s hosting. I disabled exif data stripping from my ACP, but the issue remains either way. A recent iOS update must be the culprit? The orientation data is lost when iOS converts from heic to jpg for web compatibility. This may well be the case. If there is no EXIF data there would be nothing for us to read. Have you tried it elsewhere with the same device, such as facebook for example?
crmarks Posted March 18, 2022 Posted March 18, 2022 Unfortunately it is a few users experiencing this on occasion, I have been unable to reproduce it myself.
My Sharona Posted March 18, 2022 Posted March 18, 2022 I had this issue awhile back but discovered that it was more than likely the orientation of my phone. I only discovered this when I uploaded those same images to my computer and realized they were also upside down and sideways. I reoriented them and tried uploading them to my site and they were fine.
Dean_ Posted March 19, 2022 Posted March 19, 2022 15 hours ago, My Sharona said: I had this issue awhile back but discovered that it was more than likely the orientation of my phone. I only discovered this when I uploaded those same images to my computer and realized they were also upside down and sideways. I reoriented them and tried uploading them to my site and they were fine. This is exactly what I said. I see the server can grab the info, but as above, if it's not there, it can't tell what to do... On 2/4/2021 at 4:54 PM, Dean_ said: Issue: It's something I've had to explain to my members time and time again. Let's say you're in portrait mode and then quickly turn the phone to landscape and take a picture. If you look at the screen, you'll notice the words/details on the screen are not at the right orientation. I still get caught out by this on my iPhone 8 and iPhone XS Max at times. Fix: So, if I have taken the picture, and I've noticed it's sideways when uploading, I simply go to Photo's, edit the picture and rotate it once, save it and then rotate it again until it's in the correct orientation and then save it. Now when I go to upload it, the photo is facing the correct way. This issue has been around a very long time. It's even worse when the phone is actually upside down (buttons on the bottom of the phone) as you don't realise you've turned it this way and go to take a picture. As above, I honestly still get caught out by this. Especially, when I try to take a quick photo. Marc and My Sharona 2
Marc Posted March 21, 2022 Posted March 21, 2022 ^ exactly this 🙂 . It does seem to be happening more often on iPhones, so i have flagged a topic for our developers. Emediate 1
Navigare Posted March 21, 2022 Posted March 21, 2022 I'm still having this issue, reinstalled php (7.4), EXIF, GD and ImageMagick package with the same poor result. EXIF information comes through but image is rotated. An interesting side note is that if the user crop the (iOS) image before upload the rotation is correct.
Marc Posted March 21, 2022 Posted March 21, 2022 I have flagged this for our developers to take a look, as mentioned above. Navigare 1
Management Matt Posted March 28, 2022 Management Posted March 28, 2022 We believe we have a fix for April's release. JohnDar, Marc, crmarks and 5 others 6 2
Navigare Posted April 4, 2022 Posted April 4, 2022 Upgraded to "4.6.12 Beta 2" and now the images are uploaded with the correct rotation. Many thanks! Charles and Matt 2
Solution Marc Posted April 5, 2022 Solution Posted April 5, 2022 This issue has been resolved in 4.6.12, which has just been release. Please let us know if you still have any issues once you have upgraded to that release. crmarks and autumnwalker 2
Emediate Posted April 5, 2022 Posted April 5, 2022 Great! Just upgraded. Will have real world feedback within hours no doubt. Charles and Marc 2
Emediate Posted April 6, 2022 Posted April 6, 2022 I can confirm this issue has been resolved on our board, much to the delight of the members! 🙂 Job well done IPS Team! Marc 1
Marc Posted April 6, 2022 Posted April 6, 2022 5 hours ago, Emediate said: I can confirm this issue has been resolved on our board, much to the delight of the members! 🙂 Job well done IPS Team! Thank you for the feedback, and glad to hear it resolved your issue
Emediate Posted April 7, 2022 Posted April 7, 2022 Just some feedback that while this appears 100% resolved for iOS device users, we have had some instances today of it still happening from a LG V50 cellphone.
Marc Posted April 7, 2022 Posted April 7, 2022 We would need an example of this in order to take a look. Is it one specific user having the issue there?
Emediate Posted April 7, 2022 Posted April 7, 2022 2 hours ago, Marc Stridgen said: We would need an example of this in order to take a look. Is it one specific user having the issue there? Not sure if it's helpful downloading examples from our site and then reuploading here. Else let me know and I can link you to the originals.
Marc Posted April 7, 2022 Posted April 7, 2022 Please zip the originals, and upload the zip. Those showing there are certainly upside down.
Recommended Posts