IOS photo orientation has broken
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.knownfile - 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!
Hmm. Works on desktop.
Will have to find time to plug my phone in and get at the JS debug console that way.
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.
Happy to test, if you need it.