[TYPO3-english] absRefPrefix not used for images in rtehtmlarea
Dmitry Dulepov
dmitry.dulepov at gmail.com
Thu Jun 17 15:46:14 CEST 2010
Hi!
Steffen Müller wrote:
> I get:
> <img src="uploads/RTEmagic... >
>
> But I want:
> <img src="http://www.example.com/uploads/RTEmagic... >
>
> I am not sure if I overlooked some config or if it's a bug. So I decided
> to ask before reporting a bugreport.
>
> When I look into rtehtmlarea/pi3/class.tx_rtehtmlarea_pi3.php (class
> render_clickenlarge), absRefPrefix is not used here. But OTOH it seems
> to be used when using RTE smileys.
The prefix is applied in one place:
typo3/sysext/cms/tslib/class.tslib_fe.php, function setAbsRefPrefix().
"uploads/" is not there. You can fix it locally by adding uploads dir to
"additionalAbsRefPrefixDirectories" in the Install tool. But filing it as a
bug is a good idea.
--
Dmitry Dulepov
TYPO3 expert / TYPO3 core&security teams member
Twitter: http://twitter.com/dmitryd
Read more @ http://dmitry-dulepov.com/
More information about the TYPO3-english
mailing list