Magento 2 AVIF Images Extension | Magento AVIF Support

Magefan Magento 2 AVIF Images Extension is a Magento image optimisation tool that automatically converts GIF, PNG and JPG images to AVIF format using 3 conversion modes, quality control, image exclusion rules and advanced AVIF settings. The extension converts images to AVIF format but keeps and shows the original files as a fallback for unsupported browsers.

Magefan AVIF Extension converts any image (picture tags, page builder sliders, CSS, external website images, GraphQL or REST API requests) to a new AVIF image format without any developer assistance.

$159
one-time-payment-info
one-time payment
Add to Cart
Reduce image file type by up to 60%, improve Core Web Vitals, speed up loading with this hands-free image optimisation tool.
Not
a subscription
30 days
money back
365 days
of free support and updates
one-time-payment-info
Lifetime
access to source code
magento 2 avif images
avif image compression magento
magento convert images to avif format
avif browser compatibility magento
Compatibility:Magento 2.3.0 - 2.4.9 (CE, EE, ECE, B2B)
Version:2.0.0

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.
avif images in magento
magento 2 avif images

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.

magento 2 avif images on category pages
skip images from avif conversion magento

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.
convert different images to avif magento
magento 2 avif images extension reports

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.

Flexible AVIF Images Integration in Magento

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.

Frequently asked questions about the Magento AVIF Images

What is the Magento 2 AVIF Optimised Images Extension?

collapsible icon
Magento 2 AVIF Optimised Images Extension is a Magefan extension that automatically converts GIF, PNG and JPG images to the AVIF format to reduce file size and improve website loading speed. It generates AVIF copies of existing image files, serves them through the picture tag and automatically falls back to the original images for browsers that don’t support AVIF.

Is AVIF format better than WebP for Magento?

collapsible icon
AVIF is considered superior to the WebP format for Magento stores since it yields significantly smaller file sizes when compared to WebP. AVIF can reduce file size up to 90% (20%-50% smaller than WebP) with visual quality equivalent to WebP. However, users using WebP images in Magento report significant improvements in loading speed nonetheless.

Does using AVIF images in Magento break the store for unsupported browsers?

collapsible icon
Browsers that don’t support AVIF will see your original images since the Magefan AVIF Extension automatically falls back to the original images while serving AVIF copies for the rest of the visitors.

Can I convert only specific images to AVIF in Magento?

collapsible icon
Magefan AVIF Images Extension allows you to exclude images created after a certain date, specific static or media folders from AVIF conversion. This saves resources and gives you more control over the conversion priorities.

Does this extension support headless Magento storefronts?

collapsible icon
Magefan AVIF Extension supports AVIF conversion for images delivered through both GraphQL and REST API requests, so headless, PWA storefronts or custom applications pulling data from Magento benefit from AVIF compression.

Feature Highlights
Automatic AVIF generation
Convert existing and new store images to AVIF using 3 conversion modes - cron, page load, cron & page load
Upload AVIF images to Magento admin
Add AVIF support in Magento and upload AVIF to any content area
No extra libraries or tools required
Magefan AVIF Extension already has everything it needs to convert images to AVIF
Fallback to original JPG or PNG
Keep original PNG/JPG files intact and serve them automatically to unsupported browsers
AVIF quality control
Set a custom compression level to balance AVIF size and image quality
Parallel processing
Generate AVIF images faster across large catalogues with multiple simultaneous conversion processes
Conversion reports
Monitor AVIF conversion process, skipped, and failed images directly in the admin
Folder and file exclusions
Skip outdated images or specific folders from AVIF conversion
Advanced conversion settings
Convert images in page builder, CSS, sliders, picture tag, in Rest API & GraphQL requests and from external websites
chevron-up Top
    July's special: Get 10% OFF any Magefan marketing extensions! Browse marketing tools