Closed ghost closed 12 years ago
give only the url till .png http://en.gravatar.com/userimage/25805900/5e326e6838f12248646bdfbac7f631df.png
without "?size=600 ".
Still doesn't work and it's not an issue about having anything after the extension because https://a248.e.akamai.net/assets.github.com/images/modules/header/logov7@4x-hover.png?1324325453
works. The reason the GitHub logo works is because of all the shades of gray whereas the panda picture doesn't have enough colours. As I said earlier.
Mmmmh, that's weird. I get this http://img855.imageshack.us/img855/1558/bug1n.png
Which browser are you using?
I'm using Chromium 19.0.1042.0 (Developer Build 122064)
firefox 9.0.1 sorry, now i know what you mean, the first image provided only shows B/W the second picture bug1n.png also shows the grey in differnet areas of the front page. sorry!.
The prizm gem won't return more colors than amount present in the image. Right now, we tell it to extract 7 colors from any given image. We can fix this bug by deriving more colors from darking/brightening the generated colors. But I feel like an image with less than 7 colors isn't going to be useful for the purpose of Lavish anyways.
Then tell the client as much. In my opinion, it's far better not to leave the client confused about why the page isn't being rendered and instead pass them a message telling them what went wrong.
Ok, I already pushed a simpler solution: I'll just use bootstrap default when a color isn't available.
If in the
Step 1
section I inputhttp://en.gravatar.com/userimage/25805900/5e326e6838f12248646bdfbac7f631df.png?size=600
then the page gets rendered without style.I think it's because there are too few colours to work from.