This repository has been archived by the owner on Aug 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
crossOrigin
attribute breaks functionality on non-standard ports
#119
Comments
If a cross-domain image misses the
|
but what if I'm not using a canvas? am I missing something here? |
All right! I can support this feature for someone who does not need the |
fengyuanchen
pushed a commit
that referenced
this issue
Dec 6, 2014
hey this looks great! thanks :) |
It is a cross-domain image, and I need use canvas method : getDataURL ,what should I do? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If I'm running a web server locally on port 3000 (or any port other than 80), and try to use cropper with an image from the web, cropper generates a 'Cross-Origin Resource Sharing policy' error.
If I remove the
crossOrigin
attribute code on L152, this error doesn't happen and the image gets appended appropriately.Can we make the
crossOrigin
attribute optional?The text was updated successfully, but these errors were encountered: