Issue Bug Closed

#22930absRefPrefix should work with $TYPO3_CONF_VARS[BE][RTE_imageStorageDir]

Steffen Müller 06/18/10, 16:59 updated 10/02/18, 12:23

Description

If I add magic images in htmlarea RTE, images are always rendered with a relative path, even when absRefPrefix is set.

Solution could be to prepend absRefPrefix to $GLOBALS[‘TYPO3_CONF_VARS’][BE][RTE_imageStorageDir] in tslib_fe::setAbsRefPrefix()

TS setup:
config.absRefPrefix = http://www.example.com/

RTE:
Add magic image

Expected result:

Workaround:

Set $TYPO3_CONF_VARS[‘FE’][‘additionalAbsRefPrefixDirectories’] = ‘uploads’;
(considering that [BE][RTE_imageStorageDir] = ‘uploads’;)
(issue imported from #M14783)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.