This module provides JPEG fallbacks for AVIF images, ensuring that browsers that don't support the AVIF format can still display the images correctly. It can be configured to use responsive image styles and allows adjustment of the fallback JPEG quality.
Creates a fallback jpg image from AVIF images for browsers which do not
support AVIF format.
This module is based on https://www.drupal.org/project/wpf
Features
- Provide JPEG fallbacks for AVIF images rendered as a responsive image
- Use the JPEG fallback for style urls generated for tokens
Setup
You can configure the quality used for the fallback jpeg images at /admin/config/media/avif_fallback
There are two setups to use this module:
Upload AVIF images
- Install and enable this module
- Use responsive image style in entities display settings for images
- Upload AVIF images to your site
Convert other image formats to AVIF using image styles
- Install and enable this module
- In image styles add the "Convert" effect and set it to AVIF
- Use responsive image style in entities display settings for images
Similar modules
Maintainers
Sponsoring
Ask your assistant about AVIF fallback
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0-beta2 | Pre-release | 8–10 | Jun 27, 2023 | ||
| 1.0.0-beta1 | Pre-release | 8–10 | May 23, 2023 | ||
| 1.0.x-dev | Dev | 8–10 | May 23, 2023 |