JsImageCrop
JsImageCrop copied to clipboard
Dont work with absolute routes
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
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.
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?