snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Images Uploaded from Mobile (iOS) using Take Photo are Rotated 90° Counter-clockwise

Open CSAS-Nicholas-Roberts opened this issue 6 years ago • 2 comments

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

  1. Edit or create an asset
  2. Scroll down and choose "Select File..."
  3. In the iOS popup that appears, choose "Take Photo"
  4. Take a picture
  5. Choose "Use Photo"
  6. Observe that the image is properly oriented in the preview that appears on the edit asset page
  7. Choose "Save"
  8. 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.

CSAS-Nicholas-Roberts avatar May 08 '20 16:05 CSAS-Nicholas-Roberts

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!

stale[bot] avatar Aug 01 '20 18:08 stale[bot]

Actually it looks like this has been cleared up. Thanks for the reminder stalebot.

CSAS-Nicholas-Roberts avatar Aug 03 '20 14:08 CSAS-Nicholas-Roberts