开发者

Dynamic image loading

开发者 https://www.devze.com 2023-02-28 13:27 出处:网络
I have a page that lists users, each user has a profile image. The page loads very slow since all the profile images are loaded. Is there a way of only loading the profile images that are visible and

I have a page that lists users, each user has a profile image. The page loads very slow since all the profile images are loaded. Is there a way of only loading the profile images that are visible and then dynamically loading the other profile images as they are shown when the users scrolls down the page? And/or is it better to dynamically build CSS style blocks where the profile 开发者_StackOverflow中文版images are all located?


Check out this Asynchronous Image Loader Plugin

http://www.sebastianoarmelibattana.com/projects

(GitHub Project)


This article will help you:

http://www.webresourcesdepot.com/load-content-while-scrolling-with-jquery/

0

精彩评论

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