[Typo3] custom xml and image path

Bart Aninowski bart at sonik.pl
Tue Feb 1 21:52:45 CET 2005


Hi

How to get image path from tt_content?
Is it possible?

I use this piece of TS to render part of my custom XML

temp.content1 = CONTENT
temp.content1 {
    table = tt_content
    select {
        # from page 1 column "border"
        pidInList = 1
        andWhere=colPos=3
    }
    renderObj = TEXT
    renderObj {
        field = image
        split {
            token = ,
            cObjNum = 1
            1.current =1
            1.wrap = <image src="|"/>
        }
    }
}

all I need is to add correct path to image name.





More information about the TYPO3-english mailing list