Hallo,
ich lasse ein Image vom Gifbuilder dynamisch generieren, da ich auf verschiedene farben für die unterschiedlichen Bereiche auf meiner Website verwende:
temp.graphicalLogo = IMAGE
temp.graphicalLogo.altText.field = nav_title // title
temp.graphicalLogo.altText.wrap = Grafischer Seitentitel:|
temp.graphicalLogo.wrap =<div class="graphicalLogo">|</div>
temp.graphicalLogo.file = GIFBUILDER
temp.graphicalLogo.file {
XY = 140,120
backColor = {$graphicalPageHeaderBackgroundColor}
10 = TEXT
10.text = Hello World
10.fontFile = {$ttfFont}
10.fontColor = #aaaaaa
10.fontSize = 23
10.offset = 0,39
10.niceText = 1
20 = TEXT
20.text = Hello Again
20.fontFile = {$ttfFont}
20.fontColor = {$farbe.aktuell_top}
20.fontSize = 24
20.offset = 111,39
20.niceText = 1
30 = BOX
30 {
dimensions = 0,42,140,78
color = {$farbe}
}
}
Nun möchte ich aber die farbige Box mit einem Bild ersetzen:
temp.graphicalLogo = IMAGE
temp.graphicalLogo.altText.field = nav_title // title
temp.graphicalLogo.altText.wrap = Grafischer Seitentitel:|
temp.graphicalLogo.wrap =<div class="graphicalLogo">|</div>
temp.graphicalLogo.file = GIFBUILDER
temp.graphicalLogo.file {
XY = 140,120
backColor = {$graphicalPageHeaderBackgroundColor}
10 = TEXT
10.text = Hello World
10.fontFile = {$ttfFont}
10.fontColor = #aaaaaa
10.fontSize = 23
10.offset = 0,39
10.niceText = 1
20 = TEXT
20.text = Hello Again
20.fontFile = {$ttfFont}
20.fontColor = {$farbe.aktuell_top}
20.fontSize = 24
20.offset = 111,39
20.niceText = 1
30 = IMAGE
30 {
file = {$bild}
width = 140px
}
}
Geht aber nicht.
Wahrscheinlich liegt es an dem 2. Befehl "IMAGE".
Weiß jmd. wie ich das Problem lösen kann, ohne auf den Gifbuilder verzichten zu müssen?