kennethcachia / background-check

Automatically switch to a darker or a lighter version of an element depending on the brightness of images behind it.
http://kennethcachia.com/background-check/
MIT License
3.27k stars 282 forks source link

Cross Origin issue on background images #16

Closed zslabs closed 10 years ago

zslabs commented 10 years ago

Similar to this issue which works fine for me, is there anyway to get around the error on background images? I haven't found anything on that. Thanks!

kennethcachia commented 10 years ago

Try this approach if you can't avoid using CSS backgrounds. Demo.

Make sure you upgrade to v1.2.2.