Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
agendartobias opened this issue Jul 31, 2024 · 1 comment

Comments

@agendartobias
Copy link

agendartobias commented Jul 31, 2024

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
Copy link
Author

Update: i change this line:

from lib.parseFunc_RTE to lib.parseFunc and it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant