GianlucaGuarini / jQuery.BlackAndWhite

Clientside grayscale images on any browser
http://gianlucaguarini.github.io/jQuery.BlackAndWhite/
Other
310 stars 131 forks source link

Image preloading? #24

Closed kenio closed 11 years ago

kenio commented 11 years ago

Hi, maybe it's not an issue, more like request, is there any chance to preload images when it have to be gray? I mean, when u got more images at page, there is one-two second queue between script start to work and it can be seen that images are changing color from colored to gray. Is there any chance to hide that by preload images somehow?

U can see this in most examples, also in demo, but there is quite fast change, if u got more images at page or bigger page it last longer.

thanks in advance

iamarthur commented 11 years ago

Hi, I have a similar concern on how the image appears before the color images changes to gray. In my case, it seems like all of them turn gray at once instead of one after the other like in the demo. I am actually ok with how the demo works if there is no solution to preload the images.

I am pretty new to javascript so can someone point me in the right direction? Thanks.

GianlucaGuarini commented 11 years ago

this feature has been added to the new 0.2.6 version