mquan / lavish

a rails app that generates Bootstrap color scheme from an image
http://lavishbootstrap.com/
694 stars 92 forks source link

Grey scale images cause error #21

Closed noconstruct closed 9 years ago

noconstruct commented 10 years ago

http://www.lavishbootstrap.com/?utf8=%E2%9C%93&image_url=http%3A%2F%2Fimg.wallpaperstock.net%3A81%2Fgreyscale-moon-wallpapers_4148_1680x1050.jpg&commit=Go+Lavish

returns

"We're sorry, but something went wrong."

mquan commented 9 years ago

I couldn't access the image there, may be the url is private and can only be accessed from authenticated account?

ruudsilvrants commented 9 years ago

Hey, Got the same error with an grayscale image, this image is sure to be accesible without any authentication

mquan commented 9 years ago

Lavish needs at least 5 distinct colors so images with less colors won't work

mquan commented 9 years ago

This is now fixed