known icon indicating copy to clipboard operation
known copied to clipboard

IOS photo orientation has broken

Open mapkyca opened this issue 5 years ago • 3 comments

While trying to do this:

Upload a portrait photo from ios

I encountered this error:

Appears in the wrong orientation

Some other notes:

Exif used to work, so something has broken/changed.

Give us some context:

  • It'd also be really handy if you could tell us the contents of your version.known file
  • What database are you using? (e.g. mongo, mysql, postgres)
  • Any warnings or errors in your admin/diagnostics page?
  • If this is a programming bug, can you include examples of any Micropub / API calls / webhook pings you make? Otherwise please don't worry about what this means!
  • Bonus points - are you able to illustrate the issue with a unit test? If so, submit it as a pull request!

mapkyca avatar Jan 19 '20 15:01 mapkyca

Hmm. Works on desktop.

Will have to find time to plug my phone in and get at the JS debug console that way.

mapkyca avatar Jan 19 '20 18:01 mapkyca

Ok, so I've played around and this may need some thought.

Reason, is that on iphone safari is automatically correcting for the rotation, so our javascript reverts this. However, it seems that the orientation extracted via javascript is not correct, or at least safari and the image library are fighting.

Needs some thought, and definitely didn't used to be this way.

mapkyca avatar Jan 19 '20 22:01 mapkyca

Happy to test, if you need it.

jeremycherfas avatar Jan 20 '20 08:01 jeremycherfas