Zum Inhalt springen

tt_content bilder mit typoscript ausgeben + title?

Erstellt am 11. Februar 2013 · 2 Antworten · letzte Antwort am 15. Februar 2013

Tags: Bilder, Frage

franz ferdinand ·

hallo,

ich möchte die bilder eines normalen content elements ausgeben:

temp.gallery = CONTENT
temp.gallery {
  table = tt_content
  select {
    pidInList = 17
    orderBy = sorting
  }
  renderObj = COA
  renderObj {
    10 = TEXT
    10 {
      field = image
      split {
        token = ,
        cObjNum = 1
        1 {
          10 = IMAGE
          10.file.import.current = 1
          10.file.import = uploads/pics/
        }
      }
    }
  }
}

das funktioniert mit einem script dieser art. allerdings möchte ich zusätzlich auch gleichzeitig die bildtitel im img tag verwenden. die stehen ja in einem anderen feld als image. wie könnte ich das machen? ich wäre für tipps dankbar! 🙂