After finishing purchasing process, we will immediately send you an email containing the link to download this extension.
Before installing the module:
- Please turn off Merge-JS before installing the module. Only Turn on Merge-JS when finishing the installation
- Run command composer require rosell-dk/webp-convert
Unzip the file.
Create another directory called app/code/Bss/ConvertImageWebp/. ConvertImageWebp is the
module's internal identifier. You can find it in the "composer.json" file in the extension ZIP file you downloaded, look at the node "psr-4".
This is what you call the directory, and then you put the contents of the extension ZIP file in there.
Upload the directory app/code/Bss/ConvertImageWebp/ into the root directory of your Magento installation. The root directory of Magento is the directory that contains the directories "app", "bin", "lib" and more. All directories should match the existing directory structure.
Go to Magento 2 root directory.
Run: php bin/magentosetup:upgrade.
Run: php bin/magentosetup:static-content:deploy.
After you have finished installing the module, to convert existing images to webp in the frontend, you need to run the command php bin/magento bss_c_i_w:convert to create the corresponding webp images path. (For example: php bin/magento bss_c_i_w:convert pub/media)
Clear all Caches.