briangonzalez / jquery.adaptive-backgrounds.js

🦎 A jQuery plugin for extracting the dominant color from images and applying the color to their parent.
http://briangonzalez.github.io/jquery.adaptive-backgrounds.js/
6.54k stars 454 forks source link

remote-image demo not working #11

Closed s6joui closed 10 years ago

s6joui commented 10 years ago

Hi! I'm trying to get the remote-image.html demo to work but it never does. I've tried on Firefox and Chrome.

Is it possible to use your plugin with remote images?

Thank you! Great work!

briangonzalez commented 10 years ago

It should be working just fine, but I verified that it is indeed not working. Give me a little to try and debug the issue. Thanks.

Clarinetina commented 10 years ago

I can't get any of the examples to work in Chrome except cors.html and data-url.html. However, your example page works fine in Chrome http://briangonzalez.github.io/jquery.adaptive-backgrounds.js/. What am I missing?

briangonzalez commented 10 years ago

How are you trying to run the examples? You need to cd into the repo's directory, then run grunt serve. This will fire up a little server for serving static content on port 8000.

This script will not work when run from the file:// protocol. Hope this helps.

Clarinetina commented 10 years ago

Oh! My mistake. Ta, I'll give that a go :-)

frontEnd-fucker commented 10 years ago

@Clarinetina I met the same proplem... I test it in my local server and then the problem solved..

santhosh0123 commented 8 years ago

Hi, I'm also facing same issue. My images are from CDN. How can I handle CORS Error?