Skip to content

Improve Settings for Modern Image Formats #1258

@adamsilverstein

Description

@adamsilverstein

Feature Description

Since adding AVIF and <picture> element support, some potential improvements to the settings screen became apparent.

Potential Improvements

  • As @joemcgill mentioned in Add picture element support #73 (comment) we should properly handle sites that lack both AVIF and WebP support (~2% of sites).
  • <picture> element support is only useful when there is both a modern format (WebP/AVIF) and a JPEG fallback available for each sub size, eg. when the "Also output JPEG images" setting is enabled. Therefore, maybe the picture element support toggle should only be enabled when JPEGs are being generated? (and otherwise displayed in a greyed out "disabled" state)

Metadata

Metadata

Labels

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

Type

No type
No fields configured for issues without a type.

Projects

Status

Done 😃

Relationships

None yet

Development

No branches or pull requests

Issue actions