srcset
not created when "Generate JPEG files in addition to WebP" enabled
#1207
Labels
[Focus] Images
Issues related to the Images focus area
[Plugin] Modern Image Formats
Issues for the Modern Image Formats plugin (formerly WebP Uploads)
[Type] Bug
An existing feature is broken
Milestone
Bug Description
When the "Generate JPEG files in addition to WebP" option is enabled, the HTML output does not include the expected
srcset
, instead, only the main image is referenced.Steps to reproduce
Expected results: in
img
tag usessrcset
Actual results: the
img
tag lags asrcset
attributeScreenshots
Setting:
With setting disabled:
With setting enabled:
Note: I discovered this issue when working to update the plugin to support AVIF: #1176
The text was updated successfully, but these errors were encountered: