Project

General

Profile

Actions

Bug #18261

closed

Magic Image forces original aspect ratio

Added by Nathan no-lastname-given over 16 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2008-02-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When using magic image to insert an image, it will force the image to keep the aspect ratio of the original, even when both a width and height are specified. For example, I have an image that is 266px width x 630px hight. Say I want to resize it to 100 x 200. I type 100 x 200 into the edit image properties, and it appears to work in the RTE. But when it is saved, the image is resized to 100 x 237! (and as a side note, it checks the box for border, though no border is visible in the RTE or on the actual page). This should not be the correct behavior. As I understand, if you put "auto" for either height or width, it will resize to the correct aspect ratio, but if you enter both a height and a width, the RTE should respect this!

Tested in Typo3 4.1.5 (rtehtmlarea 1.5.5)

(issue imported from #M7603)

Actions

Also available in: Atom PDF