Skip to content

hmphu/m2-lazyload-native

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HMP_LazyloadNative

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)

About

Implement the native lazy load attribute 'loading' for all images

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages