Optimise Images with a Dedicated Magento 2 AVIF Extension
Magefan AVIF Extension for Magento converts your images to AVIF automatically, allows you to control conversion quality, and lets you skip files and folders from AVIF conversion.
Convert Images to AVIF Format Automatically
Optimise images on your Magento store with the modern AVIF format automatically using the Magento 2 AVIF Extension.
Convert all existing or newly added GIF, PNG, JPG images to AVIF using the conversion mode that suits your server and traffic needs best:
- -3 conversion modes - choose how to convert images: on page load, by cron, via CLI command or page load & cron.
- -Asynchronous AVIG generation - convert images when the page is requested, without slowing down user experience or blocking page rendering.
- -Parallel conversion processes - run multiple conversion processes at once to generate AVIF images faster for large catalogues.
Control AVIF Image Size and Quality
Balance file size and quality with the AVIF images quality settings.
Reduce file size up to 50% while keeping your images sharp and detailed.
Just set the compression level and let the Magento AVIF Extension convert images according to your needs. You can change the settings any time and reconvert images through the AVIF dashboard.
Fall Back to Original PNG and JPG Files
Magento 2 AVIF Images Extension doesn’t delete or overwrite your original images. It generates AVIF files as copies for browsers that don’t support AVIF.
Your original PNG and JPG images are automatically served to visitors in those browsers, while everyone else sees AVIF.
Use the picture tag for AVIF images to ensure a seamless browsing experience for all visitors regardless of their browser or device.
Skip Images and Folders from Conversion
Exclude specific folders, files or outdated images from AVIF conversion to save resources and conversion time.
- -Skip order images – exclude images created more than (N) days ago to focus on actively used files.
- -Skip media folders – exclude specific folders inside your media directory from the automatic conversion.
- -Skip static folders – exclude static folders, such as theme files and icons, you don't want converted to AVIF.
Have Full Control Over Magento AVIF Images Generation
Magefan AVIF Images Converter doesn't stop at product and category images. It gives you a full set of tools to convert any image across your entire store and monitor the conversion process for all or specific images.
Convert Any Image to AVIF Format
AVIF Extension for Magento detects images in different page elements and content types to convert them automatically. No manual edits to your content or theme are required.
- -Convert HTML picture tag images - automatically detect and convert images already wrapped in picture tags.
- -Convert Page Builder images and sliders - convert AVIF files for images and slider content created with default Magento Page Builder.
- -Convert images from external websites - convert images loaded outside your Magento store; the AVIF copy is saved on your side.
Monitor AVIF Conversion Reports
Track the Magento AVIF conversion process from start to finish through the AVIF images dashboard.
See exactly what images have been converted, what’s still pending and what failed.
Review file size saving, conversion methods used, and compare original and AVIF image sizes.
Magefan Extension applies AVIF optimisation to images beyond the storefront. It converts images delivered through GraphQL and REST APIs too.
Serve AVIF to headless storefronts and PWA themes or return optimised AVIF images for custom applications and integrations.



