JSSOR - does lazyloading actually work?

雨燕双飞 提交于 2019-12-11 09:37:40

问题


I would like to know does lazyloading option actually work and how do I verify it. On all my browser, i can see that it actually loads all images at once while the page is loading and not when needed. It does allow me to scroll through even when my images are loading. Each of my images are roughly between 400kb-600kb.

Rgds, Kong


回答1:


Yes, it does work.

By default, the $LazyLoading option value is 1. That's to say, it will load image for current slide and 1 adjacent slide.

You can manually set $LazyLoading value to 0, in this manner, it will load image for current slide only.

btw, please make sure you replaced src="url' with src2="url" for all images.



来源:https://stackoverflow.com/questions/26238283/jssor-does-lazyloading-actually-work

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!