-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
AutoOrientImage not working with IOS on iPhone #1269
Comments
Can you please submit a PR? |
Done |
I have enhanced this for various scenarios including appropriate scaling of images. |
@kartik-v when are you planning to release a version fixing this issue? We do need it very much for our new project. Thank you. |
The next release |
Great, thanks a lot! But how do I need to load piexifjs? Currently it's not working even in Chrome, but it used to with 4.4.3.. |
Ok, loaded it separately via registerJsFile and it seems to work now on Chrome. We'll try on iPhone in a while.. |
You are probably talking about the |
Ah, ok, I see ) |
Can't get it to work on iPhone... Anybody can confirm it's working there? Images are not rotated properly. |
You may want to check the image auto orientation demo page and see if that works fine and cross check your configuration |
@kartik-v do you have an idea? |
@shum16 will check this as I get time... any info you can share will be helpful to debug |
@kartik-v any new on this? |
@shum16 not got time to check this ... been busy... will try to see if I get time to look into this... Do let know if there is something you have from your end to accelerate this.. |
This is caused by mobile Safari. It autoorients pictures with EXIF information. So basically fileinput autoorients this picture, displays and Safari takes it, finds EXIF and rotates it again. See for example fengyuanchen/cropper#120 |
This will be resolved via enh #1362. |
There is a issue with image orientation in preview. When I take a vertical photo from my iPhone and I upload it the picture is not oriented correctly

In _previewFile function I see every time that the class "rorate-1" is added. It seem to have a issue to read EXIF informations of picture.
I use this workaround to solve this :
Import pexifjs script
and in fileinput.js I modified the _previewFile function like this :
jquery v 3.2.1
fileinput v 4.4.9
bootstrap v 4.1.1
The text was updated successfully, but these errors were encountered: