-
-
Notifications
You must be signed in to change notification settings - Fork 339
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
Access-Control-Allow-Origin #62
Comments
I found a work around by loading the image to an element with |
Thanks for the fix (merged), will hopefully publish v1.0.0 over the weekend with this fix in it |
|
I've resolved my issue, as @springuper says: <ReactCrop
src={image.src}
onComplete={onReceiveCrop}
crop={crop}
disabled={!image}
crossorigin={null}
/> Will make a PR for a solution at some point |
Interesting, were you also trying to map the image on to a canvas? |
Yeah, all that stuff is working fine though |
Cool, so sounds like undefined should be the default as it used to be |
Yup, that's what I was thinking -- Do you want to PR it or should I? |
If you want to do it then great! I prob won't get around to it until friday/weekend cheers |
Fixed in v2.0.0 |
Hi,
Sometimes(i can't reproduce it though) i get a CORS exception while loading the image in the canvas, as result the image is rendered(with the crop) in a very small square area.
All the images i use are loaded from a S3 bucket(i already added the CORS configuration to it).
Am i the only one who is having this issue?
The text was updated successfully, but these errors were encountered: