Project

General

Profile

Actions

Bug #20316

closed

image scaling fails when saving

Added by Sebastian Meyer over 15 years ago. Updated about 15 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-04-16
Due date:
% Done:

0%

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

Description

When inserting a new magic image in RTE it is correctly downscaled to the max dimensions defined in pageTSconfig. At this moment a copy of the image (with the new dimenions) is created in the uploads folder and linked to in the RTE. Everything okay so far.
But when I hit the "save" button in RTE, another copy of the image is created in the uploads folder, which is NOT scaled (and replaces the old one). As a result, the much too big image is shown in the frontend (and in RTE after re-opening the content element, too).
When manually scaling an already inserted image in the RTE, nothing happens. The RTE shows the scaled image, but no copy is created in uploads folder and so there are pretty much no changes at all after saving.

So the problem seems to be the saving process in RTE, which does not render the scaled copies of inserted images correctly. I don't know if this is a RTE or a DAM problem, but I think it is related to RTE because it occurs on saving a content element in RTE.

I am using TYPO3 4.2.6 with DAM 1.1.1, both updated from previous versions 4.1.10 and 1.0.100 (from svn). There's no local copy of rtehtmlarea installed. Since updating I have a problem with the image scaling in RTE. I already reviewed the DAM documentation and followed the instructions there after updating.
(issue imported from #M10912)

Actions

Also available in: Atom PDF