[TYPO3-german] GIFBUILDER Mindestgröße für das Bild

Helmut Hummel typo3 at rampenlicht.org
Sat Jun 2 14:22:24 CEST 2007


Hallo,
ich habe folgendes Typoscript für das rendern einer Grafik:

temp.hIMG3 = IMAGE
temp.hIMG3 {
    file = GIFBUILDER
    file {
        XY = [20.w]+110,[10.h]
        backColor = #3e3e3e
        10 = IMAGE
        10.file = {$templatePath}pics/{$templateName}-logo.gif
        20 = TEXT
        20 {
            text.data = levelfield:-1, subtitle, slide
            text.htmlSpecialChars = 1
            text.crop = 50
            fontFile = {$templatePath}fonts/trebucbi.ttf
            offset = 108,89
        }
    }
}

Wenn der Text[20] jetzt aber kürzer ist als das Bild[10], wird das Bild
abgeschnitten. Wenn ich XY = [10.w],[10.h] setze, wird der Text
abgeschnitten, wenn dieser über das Bild hinausragt.

Hat jemand einen Tipp für mich wie ich das machen muss, damit das
End-Bild die richtige Größe hat?

Vielen Dank und viele Grüße
Helmut


More information about the TYPO3-german mailing list