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

CORS question #37

Closed
jaesung2061 opened this issue Dec 11, 2014 · 8 comments
Closed

CORS question #37

jaesung2061 opened this issue Dec 11, 2014 · 8 comments

Comments

@jaesung2061
Copy link

How can I allow images from other sites to be shown?

@mike-suggitt
Copy link

It already does?....I'm using a remote URL as part of my demo page

@jaesung2061
Copy link
Author

I get this message.

Image from origin 'http://rackcdn.com' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://finit-media.app:8000' is therefore not allowed access

@mickeyckm
Copy link

I'm having the same issue as well.

@rodrigoreis22
Copy link

I'm having the same issue when I try to show the current image on the canvas. It worked before.

@nchudleigh
Copy link

Having the same issue, I believe you can set cross origin attributes on the canvas element?

https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image

going to try out some changes and if they work ill make a pull request for a CORSenabled option.

@fastf0rward
Copy link

Hi @nchudleigh , did you ever get this working? We've run into the same wall :(.

@nchudleigh
Copy link

I am sorry to say that no I didn't find a fix. Though if I do I will come back and post the solution. I fear it may be more complicated than I thought. Might take some hacky fixes but I will be forced to figure it out in the next few weeks. Stay tuned.

@fastf0rward
Copy link

We were trying to load the original image (image="" property) from our S3 bucket, without having any Cross Origin settings on the bucket. We ended up configuring Cross Origin settings:

http://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html

Now it all works.

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

6 participants