Skip to content

Commit bb48fa2

Browse files
committed
DOC-3209: Image previews sometimes showed the wrong image from a srcset.
1 parent 942ba64 commit bb48fa2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,19 @@ 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+
=== Image Optimizer (Powered by Uploadcare)
58+
59+
The {productname} {release-version} release includes an accompanying release of the **Image Optimizer (Powered by Uploadcare)** premium plugin.
60+
61+
**Image Optimizer (Powered by Uploadcare)** includes the following fix.
62+
63+
==== Image previews sometimes showed the wrong image from a `srcset`.
64+
65+
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.
66+
67+
{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.
68+
69+
For information on the **Image Optimizer Powered by Uploadcare** plugin, see: xref:uploadcare.adoc[Image Optimizer (Powered by Uploadcare)].
5770

5871
[[improvements]]
5972
== Improvements

0 commit comments

Comments
 (0)