Skip to content
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

Error when using big files on Safari #163

Open
vsachini opened this issue Sep 29, 2022 · 4 comments
Open

Error when using big files on Safari #163

vsachini opened this issue Sep 29, 2022 · 4 comments

Comments

@vsachini
Copy link

Expected Behavior

Compress image;

Current Behavior

When compressing I get an error "Not allowed to load local resource" only when the image is big. Using the same image but cropping it smaller, the compression works fine.
I've tried with useWebWorker true and false and got the same results.

It works fine on Chrome and Firefox.

image

@Donaldcwl
Copy link
Owner

@vsachini Would you mind uploading your large image for us to debug? Thanks.

@vsachini
Copy link
Author

@Donaldcwl
Copy link
Owner

Donaldcwl commented Oct 11, 2022

Hi @Donaldcwl,

Here's the link to the image I was using: https://unsplash.com/photos/dFmNTi27QLQ/download?ixid=MnwxMjA3fDB8MXxzZWFyY2h8MTZ8fGdvbGQlMjBjb2FzdHxlbnwwfHx8fDE2NjU0NTM0Njg&force=true

This image is a 3.8MB jpg file.
It works fine on Macbook Safari 16.0 (17614.1.25.9.10, 17614):
0A0B84B1-C703-4965-87BD-C600CF11864C

Did you upload the wrong image file?

@sayhicoelho
Copy link

Here is working fine with a 30MB image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants