[TYPO3-german] textpic image aus media field

Paulina Seroczynska paulina at amikaro.de
Thu Jul 14 15:52:16 CEST 2011


Hallo an Alle!

Vielleicht kann mir ja jemand helfen?
Ich kriege es leider alleine nicht so gut hin.

Ich möchte gerne von der aktuellen Seite aus dem ersten textpic 
Content-Element das Bild aus dem Media Field rausholen und es mit einem 
Tag wrappen.

Ich bin mittlerweile so weit:

temp.metabild = COA
temp.metabild {
          10=CONTENT
          10.table= tt_content
          10.select {
            orderBy = Sorting
            languageField = sys_language_uid
            where = CType="textpic"
            selectFields = image
            max = 2
          }
          10.renderObj=COA
          5 = TEXT
         5 {
             #field = multimedia
             #file.import.field = multimedia
             #file = fileadmin/images/ci/header_703b209h.jpg
               #width = 200c
             #height = 200c
             stdWrap.dataWrap = <link rel="image_src" href="|">
         }
}


Danke!

Grüße
Paulina Seroczynska


More information about the TYPO3-german mailing list