-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
PNG data urls trigger an access denied error in IE 11 #526
Comments
why adding the "question" label ? This looks like a bug to me. |
In general, the cropper will continue to work after the error caused.
|
but why reading the data url directly for JPEG but not for PNG ? |
oh, and in IE 11, this does not continue to work based on our experience. |
Only a JPEG image includes the |
@stof
|
@fengyuanchen but then, why trying to do an AJAX request to load the metadata for PNG data-urls ? Any data-url could still be loaded directly |
@stof You are right. I will improve this soon. |
Describe the bug
When trying to crop a PNG image provided as a data-URL, IE 11 triggers an Access Denied error. JPEG is working fine.
Expected behavior
PNG works fine too.
Desktop:
Additional context
cropperjs/src/js/cropper.js
Lines 119 to 122 in 2df11cc
The text was updated successfully, but these errors were encountered: