Reputation: 8375
I have a cross domain problem when using the image from amazon. I tried to use the Canvas.getImageData function but there is a security issue. It works on firefox when i set it to img.crossOrigin = 'anonymous' but ie 9 , safari and chrome weren't working.
Is there a way of solving this apart from using the img.crossOrigin for security problem. Can that solve using other way apart from using proxy method?
Upvotes: 2
Views: 742
Reputation: 6030
to avoid same origin policies, you can use a proxy on your server, download the image to your server, then access it over the same origin, I think this would be the best solution
Upvotes: 1
Reputation: 529
Are you using a signed url to access to the image ?
Have you configured correctly the CORS on your Amazon server ?
Upvotes: 0