Project

General

Profile

Actions

Bug #22930

closed

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

Added by Steffen Müller over 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
Start date:
2010-06-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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:
<img src="http://www.example.com/uploads/RTEmagic... >

Actual result
<img src="uploads/RTEmagic... >

Workaround:

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


Files

bug_14783.diff (1.09 KB) bug_14783.diff Administrator Admin, 2010-06-18 17:20

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #20897: absRefPrefix does not work with "magic image"Closed2009-08-18

Actions
Actions

Also available in: Atom PDF