Magento 2 Allow Svg Webp Avif Image
navigate/magento-2-allow-svg-webp-avif-image
Allows uploading SVG, WebP, and AVIF images in Magento 2. Expands supported image formats for product and category images.
Build Tests
Code Quality
Tested on Magento 2.4.8-p3
Recent Test History
Each release is tested against the latest Magento version at that time.
Looking for Contributors
Composer installation fails. Your contribution could help the entire Magento community!
Share This Module's Status
README
Loaded from GitHubNavigate Commerce Product Allow Svg, Webp and Avif Image Extension for Magento 2
How to install Navigate_AllowSvgWebpAvifImage module
Composer Installation
Run the following command in Magento 2 root directory to install Navigate_AllowSvgWebpAvifImage module via composer.
Install
composer require navigate/magento-2-allow-svg-webp-avif-image
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
Update
composer update navigate/magento-2-allow-svg-webp-avif-image
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
Run below command if your store is in the production mode:
php bin/magento setup:di:compile
Manual Installation
If you prefer to install this module manually, kindly follow the steps described below -
- Download the latest version here
- Create a folder path like this
app/code/Navigate/AllowSvgWebpAvifImageand extract themain.zipfile into it. - Navigate to Magento root directory and execute the below commands.
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.