develodesign/magento-module-pagebuilder-lazyload-images
最新稳定版本:1.0
Composer 安装命令:
composer require develodesign/magento-module-pagebuilder-lazyload-images
包简介
Uses the modern browser loading="lazy" attribute on images added via page builder. Can be turned on and off per image as needed.
README 文档
README
Main Functionalities
Uses the modern browser loading="lazy" attribute on images added via page builder. Can be turned on and off per image as needed.
- Do not turn on for images loaded above the fold, this causes unnecessary layout shift (CLS).
Composer
composer require develodesign/magento-module-pagebuilder-lazyload-images
bin/magento module:enable Develodesign_PagebuilderLazyLoadImages
bin/magento setup:upgrade
bin/magento cache:flush
Zip file
- Unzip the zip file in
app/code/Develodesign/PagebuilderLazyloadImages - Enable the module by running
php bin/magento module:enable Develodesign_PagebuilderLazyloadImages - Apply database updates by running
php bin/magento setup:upgrade* - Flush the cache by running
php bin/magento cache:flush
Installation
- = in production please use the option
--keep-generated
统计信息
- 总下载量: 43.58k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 14
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2022-12-28
