Skip to content

Consider generating fallback JPEG/PNG when a WebP/AVIF is uploaded originally #2215

@westonruter

Description

@westonruter

Feature Description

This was raised by @webd-uk in a support forum topic: Open Graph protocol does not support webp.

I thought what was being requested was something that was already implemented (cf. #2028) where outputting modern image formats is skipped during wp_head for the sake of social providers that don't support them (e.g. Open Graph).

However, the issue is rather if you uploads a WebP or AVIF from the beginning (as WordPress now supports). In this case, the plugin won't need to do anything since a modern image format is the original format. In this case, there's no JPEG/PNG to fall back to render in wp_head.

Perhaps this plugin should support site owners who are already using WebP/AVIF images by generating the JPEG/PNG both for use in wp_head and also for PICTURE element fallbacks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Plugin] Modern Image FormatsIssues for the Modern Image Formats plugin (formerly WebP Uploads)[Type] EnhancementA suggestion for improvement of an existing feature

    Projects

    Status

    Not Started/Backlog 📆

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions