[TYPO3] RTE keeping absolute src's

Antonio Reher areher at sonoratec.biz
Tue May 20 15:10:43 CEST 2008


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?

Thanks!

Antonio


Oliver Rowlands wrote:
> Hi Antonio,
>
> Do you mean the image 'src' attribute is absolute in the HTML you can 
> see in the RTE or in the tt_content 'bodytext' column in mySQL?
>
> TYPO3 applies content transformation in-between the RTE and the DB and 
> the DB and the FE [1], the absolute links should not be a problem.
>
> Best regards,
>
> Oliver
>
> [1] 
> http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.1.0/view/5/2/
>
>
> Antonio Reher wrote:
>   
>> Hi all:
>> I have a problem with the RTE in TYPO3... when I upload an image and 
>> then save, the src in the database is kept as an absolute address. 
>> Shouldn't this be relative?
>>
>> Thanks,
>> Antonio
>>     
>
>
>   


More information about the TYPO3-english mailing list