Skip to content

Add AVIF support to the Modern Image Formats plugin #1151

@adamsilverstein

Description

@adamsilverstein

Feature Description

Now that WordPress 6.5+ supports the AVIF format, we should add support in the Modern Image Formats plugin (previously "WebP uploads").

Details

  • This feature should allow the user to choose between outputting WebP or AVIF images for uploaded images. We could add a dropdown to select the output format in the "uploading files" section of Settings->Media eg "Choose the image output format".
  • The AVIF option should only be available if the server actually supports AVIF. otherwise the UI should remain unchanged
  • When the user selects the AVIF format, all images are output in AVIF where they are currently output in WebP (nothing else changes)
  • The current checkbox for "Generate JPEG files in addition to WebP" needs to be renamed. We can remove the WebP mention, eg. "In addition, generate JPEG images" or "Generate JPEG fallback images"

Questions

  • Can we make AVIF the default for new installs?

Related:

#11
#1133

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Plugin] Modern Image FormatsIssues for the Modern Image Formats plugin (formerly WebP Uploads)[Type] FeatureA new feature within an existing module

    Type

    No type

    Projects

    Status

    Done 😃

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions