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

External image link not working #1104

Open
tugbanurbuyukkaraca opened this issue Oct 4, 2023 · 2 comments
Open

External image link not working #1104

tugbanurbuyukkaraca opened this issue Oct 4, 2023 · 2 comments

Comments

@tugbanurbuyukkaraca
Copy link

Cropping area doesn't open when the image I opened in the cropping area is from an external link, not from the server.

@fengyuanchen
Copy link
Owner

More details? Or any online demo for debugging?

@ccsang
Copy link

ccsang commented Oct 7, 2023

I have encountered the same issue, "Tainted canvases may not be exported", it is because cross-domain images have been introduced. If image server enable cors, this could help.

img.crossOrigin = "anonymous";  // This enables CORS

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