Skip to content

Commit 15b5836

Browse files
committed
DOC-3151: Aspect ratio was not properly calculated when uploading images wider than the editor.
1 parent 8e4236e commit 15b5836

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,23 @@ The following premium plugin updates were released alongside {productname} {rele
6969

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

72+
=== Image Optimizer
73+
74+
The {productname} {release-version} release includes an accompanying release of the **Image Optimizer** premium plugin.
75+
76+
**Image Optimizer** includes the following fix.
77+
78+
==== Aspect ratio was not properly calculated when uploading images wider than the editor.
79+
// #TINY-11963
80+
81+
Previous version of the **Image Optimizer** plugin, an issue would occur where images wider than the editor were distorted when uploaded to the CDN.
82+
83+
This occurred when the image being uploaded replaced a resized version rendered from a `srcset` alternative, and the aspect ratio was incorrectly calculated using the `naturalWidth` of the original image and the `naturalHeight` of the new image. This mismatch led to a distorted aspect ratio post-upload.
84+
85+
{productname} {release-version} addresses this issue. Now, the aspect ratio is now correctly calculated using both the `naturalWidth` and `naturalHeight` of the original image, ensuring consistent and undistorted rendering after upload.
86+
87+
For information on the **Image Optimizer** plugin, see: xref:uploadcare.adoc[Image Optimizer].
88+
7289

7390
[[accompanying-premium-plugin-end-of-life-announcement]]
7491
== Accompanying Premium plugin end-of-life announcement

0 commit comments

Comments
 (0)