Lazy Load Images

Last Update: Oct 19, 2022

This addon is 100% hooks based requiring no source edits to install.

Works with ElkArte: 1.0-1.1

Introduction:

This addon makes all the images “lazy load”. It is common that a website presenting images, some of which will be off screen until the users scrolls down the page. In this case and in order to make the websites load faster, we can use lazy loading where those off screen images are not fetched until such time as they begin to enter the viewport.

In order to do the lazy loading, the Lazy Load Plugin for jQuery is used.

Installation:

Download a package by URL

  • Download a package by URL is a quick way to download a package from the web to your forum. Using (Package Manager -> Download Package) enter the below link under the “Download a package by url” field and select Download. This will save the package to your server where you can install it.

Upload a Package

  • Alternatively, download the package using the below link and then using (Package Manager -> Upload Package) browse to where you saved the package on your computer and upload it to the server. You may also FTP the downloaded file directly to your packages directory.

License:

This ElkArte Addon is subject to the terms of the BSD 3-Clause Simplified (the “License”). You can obtain a copy of the License at http://opensource.org/licenses/BSD-3-Clause