PHP code example of navigate / magento-2-allow-svg-webp-avif-image

1. Go to this page and download the library: Download navigate/magento-2-allow-svg-webp-avif-image library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

navigate / magento-2-allow-svg-webp-avif-image example snippets


composer magento setup:upgrade
php bin/magento setup:static-content:deploy -f

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f