Project

General

Profile

Actions

Bug #65821

closed

RTE: Images are not generated reduced - only the height and width attribute is changed

Added by Harald no-lastname-given over 9 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
Start date:
2015-03-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Stabilization Sprint

Description

When images inserted in RTE and its size be changed, only the height and width attribute is changed. The path to the image points to the original image in the source folder (look FE source). If the image is not scaled to the appropriate size (file admin \ processed)?!

I think that was standard until now?!

Thank You

Harald


Files

fe.png (541 KB) fe.png Harald no-lastname-given, 2015-03-18 21:17
rte-be.png (35.7 KB) rte-be.png Harald no-lastname-given, 2015-03-18 21:17
rte-settings.png (39 KB) rte-settings.png Harald no-lastname-given, 2015-03-18 21:17
error-after-clear-temp.JPG (18.2 KB) error-after-clear-temp.JPG Harald no-lastname-given, 2015-05-22 09:47

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #65133: RTE: Extract JavaScript from select image php controllerClosedStanislas Rolland2015-02-17

Actions
Actions #1

Updated by Stanislas Rolland over 9 years ago

  • Status changed from New to Needs Feedback
  • Assignee deleted (Stanislas Rolland)

Well, it depends, are you referring to images inserted as plain images or as magic images?

Actions #2

Updated by Harald no-lastname-given over 9 years ago

I refer to the TYPO3 version 7.2.0-dev, which I have forgotten.

So, the picture size is not changed in all three ways. Not as a normal image, not as magical picture and not with drag and drop.

In FE is always referenced to the original image

Actions #3

Updated by Stanislas Rolland over 9 years ago

I am unable to reproduce this issue.

Updated by Harald no-lastname-given over 9 years ago

But I do not understand.

I am using an almost naked basic installation without additional configuration - not even for the RTE. Only the most necessary configurations.

In the appendix some screen shots

Actions #5

Updated by Stanislas Rolland over 9 years ago

Did you run all the Setup test of the install tool?

Actions #6

Updated by Harald no-lastname-given over 9 years ago

Thus, for safety's sake I have now completed all the tests in the Installation Tool positive. Also, the test images without any problems. No special occurrences.

Actions #7

Updated by Harald no-lastname-given over 9 years ago

My Feedback!

I've had some time pass. I have the past, present TYPO3 7.2.0-dev recorded. Unfortunately, nothing has changed. The images are not reduced. The image path always points to the original image in the source folder. I tried it on three different installations - nothing changes ?!

Thank You

Harald

Actions #8

Updated by Markus Klein over 9 years ago

  • Target version deleted (7.2 (Frontend))
Actions #9

Updated by Markus Klein over 9 years ago

Can't reproduce on current master.

  • Created new CE.
  • Added "magic image" to RTE.
  • Changed size to 200x200

Output load processed file.

Actions #10

Updated by Riccardo De Contardi over 9 years ago

Please, Harald, could you test again with the current master? Thank you

Actions #11

Updated by Harald no-lastname-given over 9 years ago

Hello!

I have found a possible cause or maybe helping them following note on.

I made a new naked TYPO3 installation (7.2.0) on my Hoster "Weiland". No additional extensions or configurations! I have in the installation tool the "Development settings Enable debug output ..."
enabled.

I have enabled in rtehtmlarea "Enable Images in the RTE". That's all!

Then I have a content element of the type created "Regular text element". Then I add about the icon an image. About "New Magic Image". This image is scaled down accordingly and is in processed >>> SUPER !!!

But if I now repeat the process or insert a new image in the same way, then my mistake described is produced. The image is not scaled down and pointing at the source path! Now I arrive at the following:

When I open the user settings and here in the tab "Edit & Advanced functions" to "Clear Temporary Data" button press, I get the following error:

router
PHP Warning: Creating default object from empty value in
....... / Typo3 / sysext / backend / Classes / Tree / PageTree / ExtdirectTreeCommands.php line 349

I have also sent a screenshot (error-after-clear-temp).

If I then insert a picture and repeating this process, it works again. Then I have to repeat the process, etc. It only works whenever the "Clear Temporary Data" button press! It also comes always this error message.

Thank you and maybe you Hiltz further that. I know no solution
I add after a picture, it will work again once. Then I have to repeat the process, etc. It only works whenever the "Clear Temporary Data" button press!

Thank you and maybe you Hiltz further that. I know no solution

Actions #12

Updated by Harald no-lastname-given over 9 years ago

Now I can even more accurate notice!

When I use the file browser "Insert Image" open over the icon and a picture of "New Magic Image" select them it does not work!

But if:

When I use the file browser "Insert Image" open over the icon and a picture of "New Magic Image" select them, but first click on the appropriate folder in the Folder Tree and then select them the picture, it is working properly !!!! ????

So it always works. So only when I previously click on the appropriate folder and is updated so !! ??

Why do I have the Folder Tree before updating to make it work ???

Actions #13

Updated by Markus Klein over 9 years ago

  • Status changed from Needs Feedback to Accepted
  • Target version set to 7.3 (Packages)
  • Sprint Focus set to Stabilization Sprint

I can confirm the issue with images not being scaled upon inserting them into RTE.

Inserting a "magic image" and clicking an image title directly, fails to scale the inserted image. Selecting a folder from the tree first and clicking the title then works as expected.

@Harald: Am I assuming right, that I may change the title of this issue to "Inserting magic images into RTE fails when selecting an image directly"?

Actions #14

Updated by Harald no-lastname-given over 9 years ago

Hi Markus,

yes that's right. Please change the title of this issue.

Thank you for the effort and one to comprehend. Never give up :-)

greeting

Harald

Actions #15

Updated by Harald no-lastname-given over 9 years ago

Stop!

When I insert a "normal image" it does not work with:

"So Previously Only When I click on the Appropriate folder and is updated so"

Here it works in neither case ?!

Actions #16

Updated by Harald no-lastname-given over 9 years ago

.......the method only works with the "Magic Image"

Actions #17

Updated by Markus Klein over 9 years ago

  • Assignee set to Markus Klein

Ok, first investigation reveals the issue.

When opening the Insert Image dialog, the first tab (magic image) is selected, but internally it thinks it is the plain-image tab.
Therefore it inserts a plain image instead of the magic one. Clicking the tree once, solves the issue by having the correct internal state.

Actions #18

Updated by Markus Klein over 9 years ago

  • Assignee changed from Markus Klein to Stanislas Rolland
  • Is Regression changed from No to Yes
Actions #19

Updated by Gerrit Code Review over 9 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40155

Actions #20

Updated by Gerrit Code Review over 9 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40155

Actions #21

Updated by Andreas Fernandez over 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #22

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF