Issue Bug Closed

#18261Magic Image forces original aspect ratio

Nathan no-lastname-given 02/20/08, 21:25 updated 08/19/13, 14:31

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 × 200. I type 100 × 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 × 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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.