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

dev-master 2020-06-07 10:34 UTC

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

  1. Go to https://github.com/hmphu/m2-lazyload-native
  2. Download this module "Clone or download -> Download Zip"
  3. Unzip two modules in the folder app\code\HMP\LazyloadNative
  4. 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)