Images Uploaded from Mobile (iOS) using Take Photo are Rotated 90° Counter-clockwise
- [X] I have read checked the Common Issues page
- [x] I have enabled debug mode
- It's not really an error so debug doesn't seem like the right way to go
Describe the bug When uploading an asset image from mobile (iOS) using Take Photo, the photo appears on the edit asset page as being the correct orientation, but upon saving, the image is rotated 90° Counter-clockwise.
To Reproduce
- Edit or create an asset
- Scroll down and choose "Select File..."
- In the iOS popup that appears, choose "Take Photo"
- Take a picture
- Choose "Use Photo"
- Observe that the image is properly oriented in the preview that appears on the edit asset page
- Choose "Save"
- Scroll down to the image on the asset's page and observe that it has been rotated.
Expected behavior That the image stays the way it is oriented in the preview on the edit asset page.
Screenshots
Server (please complete the following information):
- Snipe-IT Version v4.9.1 build 4341 (ga0f7fdc57)
- OS: Win Server 2019
- Web Server: IIS
- PHP Version 7.2.17
Smartphone (please complete the following information):
- Device: iPhone6, iPhone 7+
- OS: iOS 13.3.1
- Browser Safari and Chrome
- Version Safari 13 and Chrome 81
Additional context
- I can't seem to reproduce the problem by choosing an image already saved on the device, even if it's the same image that was rotated before. It seems to only be when choosing Take Photo that the rotation happens.
Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!
Actually it looks like this has been cleared up. Thanks for the reminder stalebot.