[TYPO3] RTE keeping absolute src's

Antonio Reher areher at sonoratec.biz
Tue May 20 19:11:48 CEST 2008


Hi again,
I've done the test and if I input an image via an RTE in a templavoila 
page, no problem. It transforms src to relative, as expected.
When I do it, however, via any table created via the Extension 
Kickstarter, it replaces the src tag with an absolute address.
Do you know where I can configure the rte_transform?

I really appreciate your help.

thanks,
Antonio

Oliver Rowlands wrote:
> Hi Antonio,
>
> That is indeed the case, try it for yourself by inserting an image 
> inside a standard 'Regular text' content element RTE then comparing it 
> to the actual DB value.
>
> Did you create your extension using the Extension Kickstarter? If not 
> make sure the correct 'rte_transform[mode=ts]' configuration option has 
> been set in the TCA type settings.
>
> Best regards,
>
> Oliver
>
>   
>> Hi Oliver:
>> thanks for your answer. I'm using an RTE in an object of a database 
>> table created in a frontend extension. When I add an image, the src 
>> attribute is absolute, but so is the entry in the database when I save...
>> Shouldn't it change to a relative reference?
>>
>> That's what I understand from the link you posted, where it says:
>> references to images in <img> tags in the database should be relative 
>> while absolute in the RTE
>>
>> Any idea as to what is going on?
>>     
>
>   


More information about the TYPO3-english mailing list