Skip to content

How to install Allow Optimized (SVG/Webp/Avif) Images extension

There are two ways you can install this Allow Optimized (SVG/Webp/Avif) Images extension in your Magento 2 eCommerce store. Please find both ways below -

Composer Installation

Run the following commands in Magento 2 root directory to either install or update the Navigate_AllowSvgWebpAvifImage module via composer.

composer require navigate/magento-2-allow-svg-webp-avif-image
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
composer update navigate/magento-2-allow-svg-webp-avif-image
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f

Manual Installation

If you prefer to install this module manually, kindly follow the steps described below –

  • Download the latest version.
  • Once you download the module, go to app/code/ and follow the steps explained below –
    • Create a Navigate folder.
    • Then, go inside the Navigate folder and create another folder AllowSvgWebpAvifImage
  • Once you create AllowSvgWebpAvifImage folder, extract the zip file of the module into it.
  • Then, navigate back to Magento root directory and execute the below commands in sequence.
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f

Last update: 2024-02-19