yireo/magento2-webp2 0.0.2

Magento 2 module to add WebP support to the Magento frontend

Type

magento2-module

License

OSL-3.0

Requires
Requires (dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Magento 2 module for WebP

This module adds WebP support to Magento 2. Currently, it ships with the following features:

  • When <img> tags are found on the page, the corresponding JPG or PNG is converted into WebP and a corresponding <picture tag is used to replace the original <img> tag.

Instructions for using composer

Use composer to install this extension. First make sure that Magento is installed via composer, and that there is a valid composer.json file present.

Next, install our module using the following command:

composer require yireo/magento2-webp2

Next, install the new module into Magento itself:

./bin/magento module:enable Yireo_WebP2
./bin/magento setup:upgrade

Check whether the module is succesfully installed in Admin > Stores > Configuration > Advanced > Advanced.

Done.

Todo

  • Try to replace images within the product gallery (Fotorama)