hmphu / m2-lazyload-native
Implement the native lazy load attribute 'loading' for all images
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: ~7.1.3||~7.2.0||~7.3.0||~7.4.0
- magento/framework: *
- magento/module-store: *
This package is auto-updated.
Last update: 2024-11-07 20:21:27 UTC
README
This is Magento 2 module implements the loading
attribute for lazyloading images. Details about this can be read from here: https://web.dev/native-lazy-loading/
Installation Guide
Install by composer
composer require hmphu/m2-lazyload-native:dev-master
bin/magento module:enable HMP_LazyloadNative
bin/magento setup:upgrade
Install download package
- Go to https://github.com/hmphu/m2-lazyload-native
- Download this module "Clone or download -> Download Zip"
- Unzip two modules in the folder app\code\HMP\LazyloadNative
- Run commands:
bin/magento module:enable HMP_LazyloadNative
bin/magento setup:upgrade
General Settings
To enable the module please go to
Stores -> Configuration -> Advanced -> System -> Lazyload Image (native method)