girit / magento2-module-lazyload
Magento 2 LazyLoad module by Girit Interactive
Installs: 36
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 1
Open Issues: 0
Type:magento2-module
Requires
- php: ~5.6.5|7.0.2|7.0.4|~7.0.6|~7.1.0
- girit/magento2-module-core: *
- magento/framework: 100.* | 101.*
- simple-html-dom/simple-html-dom: *
This package is not auto-updated.
Last update: 2025-03-27 21:28:16 UTC
README
This Magento 2 module adds LazyLoad for catalog images & CMS blocks.
✓ Install via composer (recommended)
Run the following command under your Magento 2 root dir:
composer require girit/magento2-module-lazyload
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:flush
Install manually under app/code
First, you need to add this repository at the root of your composer.json
:
"repositories": [ { "type": "vcs", "url": "https://github.com/Youpie/simple-html-dom" } ]
Then, require this package in the same way as any other package:
"require": { "simple-html-dom/simple-html-dom": "*" }
Then, since Simple HTML DOM isn’t PSR-0 compliant, you need to add the following if you want to autoload it via Composer:
"autoload": { "classmap": [ "vendor/simple-html-dom/simple-html-dom/" ] }
Then, download & place the contents of this repository under {YOUR-MAGENTO2-ROOT-DIR}/app/code/Girit/LazyLoad
Finally, run the following commands under your Magento 2 root dir:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:flush
http://www.girit-tech.com
+972-3-9177788
info@girit.biz
Copyright © 2018 Girit-Interactive. All rights reserved.