-
Notifications
You must be signed in to change notification settings - Fork 884
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty result returned when uploading portrait-oriented photo on iPad #54
Comments
This kind of seems like it would be related to the exif orientation in #31. Let me look into it a little bit more, I just wanted to assure that we're looking into it. |
Okay, thanks for looking into this. |
Has anyone been able to replicate the issue - on the demo site or within your own project? Unsure how to resolve this, I'm open to any direction or feedback. |
I was able to replicate it given your steps. I'm working on a solution in my spare time. It seems we're going to have to offer an option to read the exif rotation. |
@dane-pi See the note here: #31 (comment) I tried on the iPad with those changes and the problem seems to be fixed there. Does that fix it for you? |
@dane-pi You can install the beta version of croppie and see if it fixes your issues:
|
i think this is fixed in https://github.com/Foliotek/Croppie/releases/tag/v2.0.0. My test case was resolved. Hopefully yours is too. |
Hey - Sorry for the delay, yes it seems to be working. Thanks for your help! |
It says 'then', 'result' etc function not exist |
Hi Everyone,
Before getting into the question, I just wanted to say thanks for the great work on this project. It's a very useful library that seems to be gaining much traction, can't wait to see where it goes!
I'm using the latest version - 1.0.3 - and when uploading a photo from an iPad I'm noticing an empty base64 string returned when calling:
croppie.result('canvas').then(function(result) { //code } );
After digging around, I'm seeing this effect only when (A) portrait-oriented photos have been uploaded by an iPad (B) the image has either been zoomed-out or panned so that its right and bottom borders are evenly-aligned (flush) with the right and bottom sides of the viewport. (test case images attached)
Has anyone else experienced this issue? I did see issue #31 , and have implemented the suggested solution without any luck.
Any thoughts or direction would be awesome, thanks again
Zoomed out
Panned, zoomed-in
Results
The text was updated successfully, but these errors were encountered: