This Joomla Plugin sets the lazyloading attribute to all images that passes the onContentPrepare Event to allow modern browsers to lazyload the images.
More information about the
- Description: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attr-loading.
- HTML Specification: https://html.spec.whatwg.org/multipage/embedded-content.html#attr-img-loading.
- Currently the
loading attribute is supported in the following browsers: https://caniuse.com/#feat=loading-lazy-attr.
Initial setup the plugin
- Download the latest version of the plugin
- Install the plugin using
Upload & Install
- Enable the plugin
Conent - ImageLazyloadingfrom the plugin manager
Now the inital setup is completed and the plugin is running.
Please note that my update server only supports the latest version running the latest version of Joomla and atleast PHP 7.0.
Any other plugin version I may have added to the download section don't get updates using the update server.
Issues / Pull Requests
You have found an Issue, have a question or you would like to suggest changes regarding this extension?
Open an issue in this repo or submit a pull request with the proposed changes.
Beyond this repo
This plugin was intended as backport for the lazyload features added in Joomla 4.0 but where later replaced in the core by a more native integration. You can find more details on the differences at this magazine article: Using native lazyloading on your website