t3x-rte_ckeditor_image icon indicating copy to clipboard operation
t3x-rte_ckeditor_image copied to clipboard

TYPO3 generate wront path to show image in frontend after upgrading from v11 to v12

Open agendartobias opened this issue 1 year ago • 1 comments

TYPO3 12.4.5 rte_ckeditor_image 12.0.2

I get error 404 that image is not found. Reason is that there is no / before fileadmin URL. So link looks like this:

<img alt="" class="img-fluid" data-htmlarea-file-table="sys_file" data-htmlarea-file-uid="4676" height="379" src="fileadmin/_processed_/7/f/csm_20220819_KANmyimagej_43d5e4676a.jpg" style="" title="" width="570">

https://mysite.si/news/my_first_news_title/fileadmin/processed/7/f/csm_20220819_KAN_avgust_2_Petra_Korenak__KGZ_Ptuj_43d5e4676a.jpg

It shoud be like this: https://mysite.si/fileadmin/processed/7/f/csm_20220819_KAN_avgust_2_Petra_Korenak__KGZ_Ptuj_43d5e4676a.jpg

If i go to BE and save the content element again it works but this is not a good solution

agendartobias avatar Jul 31 '24 07:07 agendartobias

Update: i change this line: https://github.com/netresearch/t3x-rte_ckeditor_image/blob/a372489e39d7c77f69cb1bb49b2b8a44a49770f9/Configuration/TypoScript/ImageRendering/setup.typoscript#L7

from lib.parseFunc_RTE to lib.parseFunc and it works

agendartobias avatar Jul 31 '24 08:07 agendartobias

this bug is still in v13.0.0

agendartobias avatar Oct 23 '25 12:10 agendartobias

Closing as duplicate of #291.

Both issues are caused by the same root problem: ImageRenderingController not being invoked in TYPO3 12 due to missing lib.parseFunc_RTE configuration.

This issue (#293): Missing leading slash in paths → 404 errors
Root issue (#291): Images not processed, unwanted attributes

Same cause, different symptoms. Fixed by PR #375 which resolves #291.

CybotTM avatar Oct 24 '25 22:10 CybotTM