[TYPO3-mvc] RTE remove absolute image URLs
Andrea Schmuttermair
abo at schmutt.de
Mon Apr 15 16:55:52 CEST 2013
Hello,
I have a Extbase Extension with a RTE Text field.
If I insert images with the image icon, I get absolute image links:
<img src="https://www.mydomain.com/uploads/RTEmagicC_MyImage01.jpg"
height="325" width="952" />
But I want relative image links. How can I change that?
This is my TCA field configuration:
'content' => array(
'exclude' => 0,
'label' => 'content',
'config' => array(
'type' => 'text',
'cols' => 40,
'rows' => 15,
'eval' => 'trim,required',
'wizards' => array(
'RTE' => array(
'icon' => 'wizard_rte2.gif',
'notNewRecords'=> 1,
'RTEonly' => 1,
'script' => 'wizard_rte.php',
'title' =>
'LLL:EXT:cms/locallang_ttc.xml:bodytext.W.RTE',
'type' => 'script'
)
)
),
'defaultExtras' => 'richtext[]',
),
Thank you,
Andrea
More information about the TYPO3-project-typo3v4mvc
mailing list