Extension:Lazyload
![]() Release status: beta |
|
---|---|
Implementation | Media |
Description | An extension to delay loading of images on MediaWiki pages. |
Author(s) | Mudkip metalk |
Latest version | 0.3.0 (2018-01-04) |
MediaWiki | 1.25+ |
License | MIT License |
Download | GitHub: Note: README |
The Lazyload extension is an extension to delay loading of images on MediaWiki pages.
As of MediaWiki 1.34.0, lazy loading of images can be enabled in core through $wgNativeImageLazyLoading .
Installation[edit]
- Download and place the file(s) in a directory called
Lazyload
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php file:
require_once "$IP/extensions/Lazyload/Lazyload.php";
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.