This plugin has built-in Lazyloading with auto generated sizes for best fitting sizes.
Download the plugin from the release page and enable it in shopware.
composer require frosh/lazy-sizes
Run npm install
in src/Resources/app/storefront
within the plugin directory
download latest release and upload into admin: https://github.com/FriendsOfShopware/FroshLazySizes/releases/latest/download/FroshLazySizes.zip
- Save new size in the folder of the media management
- then run the command
bin/console media:generate-thumbnails
on the console to update the thumbnails for all images in the database - Clear shop cache
The MIT License (MIT). Please see License File for more information.