Bug #23875
closedhtmlArea RTE: The path of classesAnchor images are modified when saving
0%
Description
If adding a e.g. Download-link in RTE the image specified in classesAnchor.downlaod.file is displayed just as it should. But when saving, the path of the image ist changed: "../" is added, so the image is broken.
Here's the PageTSConfig (no surprises, but anyway):
RTE.classesAnchor {
...
download {
class = download
type = file
image = fileadmin/gestaltung/rte-icons/icon_download.gif
...
(issue imported from #M16175)
Files
Updated by Stanislas Rolland about 14 years ago
The image is inserted with an url relative to TYPO3_mainDir, rather than with an absolute url. Therefore, on saving, the RTE transformation creates a magic image for the icon.
The attached patch makes the url absolute when the icon is inserted in the RTE, so that the icon always refers to the original image specified in Page TSConfig.
Please confirm that the patch fixes this issue.
Updated by Christian Oettinger about 14 years ago
Seems to be solved. Thanks a lot!
Updated by Stanislas Rolland about 14 years ago
Thanks for testing.
Committed to SVN TYPO3core trunk (revision 9248) and branch TYPO3_4-4 (revision 9249).
Updated by Stanislas Rolland about 14 years ago
Many thanks for offering this work!