开发者

Suggestions for lazy loading images plugin for jQuery

开发者 https://www.devze.com 2023-04-08 22:38 出处:网络
I\'m in search of most popular and working lazy loading images plugin for jQuery which would normally sustain large amounts of images per page.

I'm in search of most popular and working lazy loading images plugin for jQuery which would normally sustain large amounts of images per page.

I have tried following plugins:

- http://www.appelsiini.net/projects/lazyload

- http://code.google.com/p/jquery-appear/

- http://developer.yahoo.com/yui/imageloader/

Non of them suites my needs. First didn't work as it should, second overloads server with requests, third couldn't get running. I know, that last one isn't jQuery, but I was desperate.

Wo开发者_如何学Pythonuld be really appreciated if anyone could suggest anything.

UPD:

Okei, my mistake. First plugin works as it is described, but it still works to slow with needed amount of images.


I have tried the plugin Andrew mentions (JAIL a.k.a. JqueryAsynchImageLoader) and it works well, and is very easy to use. By default you have to use the data-href attribute to store your actual image. Afterwards you simply call $("#yourdiv").asynchImageLoader() to enable asynchronous image loading. That's all.


this plugin might suit. It appears to be in active development, but I have not tried it out yet. it does require you to make changes to the HTML IMG tags.

http://www.sebastianoarmelibattana.com/projects/jail

0

精彩评论

暂无评论...
验证码 换一张
取 消