Use core's AVIF with webp format image effect (instead of webp)

Created on 13 May 2025, 4 days ago

Problem/Motivation

Core just added AVIF image conversion with fallback (configurable, but intended to use webp most of the time).

AVIF conversion with WEBP fallback Active .

📌 Use avif with webp fallback for all core image styles Active is open for core image styles. Drupal CMS image styles could use it too.

This will require 11.2, but could happen in a branch ready to be released once 11.2.0 is.

Steps to reproduce

Proposed resolution

User interface changes

Configuration changes

📌 Task
Status

Active

Component

Track: Media Management

Created by

🇬🇧United Kingdom catch

Live updates comments and jobs are added and updated live.
  • Performance

    It affects performance. It is often combined with the Needs profiling tag.

Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @catch
  • First commit to issue fork.
  • Merge request !545image_convert_avif → (Open) created by mstrelan
  • 🇦🇺Australia mstrelan

    Used this to convert all image styles in recipes dir:

    find recipes/ -name "image.style.*.yml" -exec sed -i 's/^ *id: image_convert$/ id: image_convert_avif/' {} +

    Postponed until 11.2.x is required

  • Pipeline finished with Failed
    1 day ago
    Total: 388s
    #498630
Production build 0.71.5 2024