I am trying to load an image into a canvas element and later pull the data out in toDataURL().
I have my site running with Ruby on Rails 2.3
I have my images
I was getting this CORS error, and in the server end the origin header was not being sent.
The problem for me was that I had set crossOrigin = Anonymous in my image tag. Removing that solved the problem for me, and the CORS error was gone.
crossOrigin = Anonymous