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

Dont work with absolute routes #10

Open
playUruguay opened this issue Dec 30, 2015 · 2 comments
Open

Dont work with absolute routes #10

playUruguay opened this issue Dec 30, 2015 · 2 comments

Comments

@playUruguay
Copy link

Hi, I'm working with images that already exist in different subdomains, so I need to work with absolute paths to the image. When dealing with absolute paths I get this error.
Error: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported.
Hope you can help me. Thank you

@joncodo
Copy link
Owner

joncodo commented Dec 30, 2015

I think that is because canvas elements do not act like iframes. I think you will need the source image in your project or change some security settings to make this work. I remember getting this error when the images were not on my machine.

@playUruguay
Copy link
Author

Ok,
In the version of alexk111, i don't have this problem and the absolute routes works well.
you know how he made it to solve this problem?

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

2 participants