Zum Inhalt springen

GIFBUILDER mit userFunc füttern

Erstellt am 17. August 2010 · Noch keine Antworten

Tags: Frage

cored ·

Hallo zusammen,

ich möchte gerne den GIFBUILDER mit einer userFunc oder einem temp. deas eine userFunc enthält füttern.
Das habe ich mit in etwas so vorgestellt:

lib.topImage = IMAGE
lib.topImage.file = GIFBUILDER
lib.topImage.stdWrap.wrap = <div class="topImage">|</div>
lib.topImage.file {
        XY = 1500,350
        format = jpg
        altText.data = page:subtitle
        titleText.data = page:subtitle
        backColor = {$BGCOLOR}
        quality = 100
        userFunc = tx_ccrandomimage_pi1->main
                path = fileadmin/content/headimages/home/
                fileExt = jpg,jpeg,gif,png
        10 = IMAGE
        10 {    
                offset = 275,0
                backColor = #000000
                
                file = ###FILE_1###
        }
}

Doch leider funktioniert das Ganze nicht so wirklich.

Wenn ich das Ganz in ein lib.test ausgebe funktioniert es einwandfrei.

temp.rndImageSized = USER_INT               
temp.rndImageSized {
  userFunc = tx_ccrandomimage_pi1->main
  path = fileadmin/content/headimages/home/
  fileExt = jpg,jpeg,gif,png
  renderObj = COA
  renderObj {
    10 = IMAGE
    10.file = ###FILE_1###   
  }
}
lib.test < temp.rndImageSized

Hatjemand eine Idee wie man das lösen kann.
Danke schonmal
Gruß Cored