Skip to content

Commit f3cbeed

Browse files
authored
DOC-3209: Image previews sometimes showed the wrong image from a srcset. (#3841)
1 parent 44096e2 commit f3cbeed

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

modules/ROOT/pages/8.1.0-release-notes.adoc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,21 @@ The following premium plugin updates were released alongside {productname} {rele
5454

5555
// For information on the **<Premium plugin name 1>** plugin, see: xref:<plugincode>.adoc[<Premium plugin name 1>].
5656

57+
58+
=== Image Optimizer (Powered by Uploadcare)
59+
60+
The {productname} {release-version} release includes an accompanying release of the **Image Optimizer (Powered by Uploadcare)** premium plugin.
61+
62+
**Image Optimizer (Powered by Uploadcare)** includes the following fix.
63+
64+
==== Image previews sometimes showed the wrong image from a `srcset`.
65+
66+
In previous version of the Image Optimizer premium plugin, an issue where image effects were applied based on the main `src` instead of the active `srcset` URL, causing discrepancies when the displayed image was selected from `srcset`. This led to a mismatch in the adjustment preview (rendered from the main `src`) versus the image shown in the editor (rendered from the `srcset` URL), resulting in different visual outcomes for effects such as blur or resize.
67+
68+
{productname} {release-version} resolves this issue by using the `currentSrc` property to generate previews, ensuring the preview and the editor image reference the same resource. As a result, the preview image and the image in the editor are now consistent.
69+
70+
For information on the **Image Optimizer Powered by Uploadcare** plugin, see: xref:uploadcare.adoc[Image Optimizer (Powered by Uploadcare)].
71+
5772
=== Accessibility Checker
5873

5974
The {productname} {release-version} release includes an accompanying release of the **Accessibility Checker** premium plugin.

0 commit comments

Comments
 (0)