View Issue Details

IDProjectCategoryView StatusLast Update
0006169SOGowith SOGopublic2025-12-30 11:09
Reportercdmon Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
Platform[Server] LinuxOSUbuntuOS Version16.04 LTS
Product Version5.12.4 
Summary0006169: Image signature scaling issue: missing height attribute in style tag causes display problems in other email clients
Description

We have found a bug related to image scaling in email signatures. When an image is resized within the signature editor, the generated HTML code is incomplete, causing display issues when the email is received by other email clients.

Symptoms:

  • When resizing an image in the signature editor, the style tag only includes the width attribute
  • The height attribute is missing from the style tag
  • The original height attribute remains in the <img> tag
  • This causes a mismatch: width from style + height from img tag
  • Recipients using other email clients see distorted/broken images due to incorrect aspect ratio
Steps To Reproduce
  • Create or edit an identity signature containing an image
  • Resize/scale the image using the signature editor
  • Inspect the source code of the signature
  • Observe that the style tag contains only width but not height
  • Send an email using this signature
  • Check how the signature displays in other email clients (Gmail, Outlook, Thunderbird, etc.)
  • Reply the msg in Thunderbird or inspect code in gmail.
Additional Information

When resizing, it only adds width, but not height. This causes it to be displayed incorrectly.

<img class="image_resized" style="aspect-ratio:1023/576;width:437px;"

Correct one:
<img class="image_resized" style="aspect-ratio:1023/576;width:437px;height:437px;"

It seems a bug in the CKEeditor:

Tagsresize, signature, sogo

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2025-12-30 11:06 cdmon New Issue
2025-12-30 11:09 cdmon Tag Attached: sogo
2025-12-30 11:09 cdmon Tag Attached: signature
2025-12-30 11:09 cdmon Tag Attached: resize