-
Notifications
You must be signed in to change notification settings - Fork 152
Linked images in galleries aren't replaced #2470
Copy link
Copy link
Open
Labels
ContributorDayIssues flagged as Contributor Day candidates.Issues flagged as Contributor Day candidates.[Plugin] Modern Image FormatsIssues for the Modern Image Formats plugin (formerly WebP Uploads)Issues for the Modern Image Formats plugin (formerly WebP Uploads)[Type] BugAn existing feature is brokenAn existing feature is broken
Metadata
Metadata
Assignees
Labels
ContributorDayIssues flagged as Contributor Day candidates.Issues flagged as Contributor Day candidates.[Plugin] Modern Image FormatsIssues for the Modern Image Formats plugin (formerly WebP Uploads)Issues for the Modern Image Formats plugin (formerly WebP Uploads)[Type] BugAn existing feature is brokenAn existing feature is broken
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
StatusShow more project fields
Not Started/Backlog 📆
Modern Image Formats Plugin doesn't replace linked images in galleries
I just tested the Modern Image Formats plugin. It appears to work fine for single image blocks, and for galleries where the images aren't linked (link set to: none). In those cases, original images (png) are replaced by AVIF files.
However, when the image link is set to "Link images to media files" or "Enlarge on click", then the AVIF is used inside the
<img>tag, but the<a href>link (to the bigger image format) is still linking to the PNG version.Those large images would benefit the most from the size reduction of modern formats. Therefore I consider the plugin's feature isn't complete it those images aren't replaced as well.
Steps to reproduce
Additional Context