TIP LazyLoadPlugin is not installed on Foswiki.org.

LazyLoadPlugin

Deferred loading of images

This plugin allows to defer loading of images within a section of a page.

Modern browsers are all able to load images in a lazy way by themselves, except Internet Explorer 11 and below. For these there is a JavaScript based solution to retrofit this feature.

Usage

%STARLAZYLOAD%

images go in here

%ENDLAZYLOAD%

Installation Instructions

You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.

Open configure, and open the "Extensions" section. "Extensions Operation and Maintenance" Tab -> "Install, Update or Remove extensions" Tab. Click the "Search for Extensions" button. Enter part of the extension name or description and press search. Select the desired extension(s) and click install. If an extension is already installed, it will not show up in the search results.

You can also install from the shell by running the extension installer as the web server user: (Be sure to run as the webserver user, not as root!)
cd /path/to/foswiki
perl tools/extension_installer <NameOfExtension> install

If you have any problems, or if the extension isn't available in configure, then you can still install manually from the command-line. See https://foswiki.org/Support/ManuallyInstallingExtensions for more help.

Dependencies

NameVersionDescription
Foswiki::Plugins::JQueryPlugin>=4.10Required

Change History

26 Oct 2020: rewrite to use native lazy loading when available and otherwise use a JavaScript solution
28 May 2018: don't return false in static context
27 May 2016: upgraded to lazyload 1.9.7; disable itself in static content such as print-outs
28 Aug 2014: upgraded to lazyload 1.9.3
14 Mar 2013: upgraded to lazyload 1.8.2
10 Mar 2012: upgraded to latest version of lazyload 1.7.2
30 Sep 2011: fixed dependency on jquery.metadata
Topic attachments
I Attachment Action Size Date Who Comment
LazyLoadPlugin.md5md5 LazyLoadPlugin.md5 manage 165 bytes 26 Oct 2020 - 08:31 MichaelDaum  
LazyLoadPlugin.sha1sha1 LazyLoadPlugin.sha1 manage 189 bytes 26 Oct 2020 - 08:31 MichaelDaum  
LazyLoadPlugin.tgztgz LazyLoadPlugin.tgz manage 18 K 26 Oct 2020 - 08:30 MichaelDaum  
LazyLoadPlugin.zipzip LazyLoadPlugin.zip manage 22 K 26 Oct 2020 - 08:30 MichaelDaum  
LazyLoadPlugin_installerEXT LazyLoadPlugin_installer manage 5 K 26 Oct 2020 - 08:30 MichaelDaum  
Topic revision: r10 - 26 Oct 2020, MichaelDaum - This page was cached on 16 Sep 2021 - 16:35.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy