[TYPO3-rte] Absolute paths on front end RTE images

Stanislas Rolland typo3 at sjbr.ca
Wed Jun 9 03:45:46 CEST 2010


Hi Ron,
>
> Is there a way for the front-end output to display absolute paths for magic images in the RTE?
>
> I need this:
>
> src="http://mydomain.com/uploads/RTEmagicC_10_million_pixels_IMG_0961_02.jpg"
>
> not this:
>
> src="uploads/RTEmagicC_10_million_pixels_IMG_0961_02.jpg"
>
> I have set "config.absRefPrefix = http://mydomain.com/" which takes care other images and all links (including RTE) but does not take care of images inside the RTE itself.
>
Hope you found the solution to this issue. For the record:

You can use the Install tool to add uploads/ directory to installation 
variable "additionalAbsRefPrefixDirectories". Then magic images created 
in uploads/ directory will be prefixed.

Regards,
Stanislas





More information about the TYPO3-project-rte mailing list