Project

General

Profile

Actions

Bug #344

open

Uploaded logos for landscape orders are being stretched horizontally, causing the image to appear distorted in terms of width and height.

Added by Vaughn Jeffers about 2 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Immediate
Assignee:
-
Start date:
04/10/2026
Due date:
% Done:

0%

Estimated time:

Description

Uploaded logos for landscape orders are being stretched horizontally, causing the image to appear distorted in terms of width and height.

I'm not sure how this is being handled but here are my suggestions. Please do what is best:

This seems to be a scaling/aspect ratio issue. The image is being forced into a fixed container without preserving its proportions. Is it possible to:

Preserve the aspect ratio during rendering.
Instead of stretching to fill both width and height, constrain one dimension and let the other scale automatically. For example:

Use “fit” instead of “fill”
In CSS terms: object-fit: contain; instead of forcing width/height
In code, scale based on the original width/height ratio

Actions #1

Updated by gangadhar p about 2 months ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF