[TYPO3] get size of generated image with gifbuilder

Rob De Vries spam_this at pandora.be
Thu Dec 21 15:49:07 CET 2006


Hey,

How can I get the size of a generated image (with gifbuilder) ?
what i have at this poinnt is:

10.file = GIFBUILDER
   10.file {
     	maxWidth = 550
     	backColor = #374e9d
     	XY = 550,[5.h]+40

     5 = TEXT
     5 {
       	text.field = abstract//title
       	#value = {page:abstract}
       	fontSize = 18
       	#fontColor = #374e9d
       	fontColor = white
       	offset = 5,25
       	offset = 0,18
   	fontFile = fileadmin/templates/font/RotisSemiSerif.otf
       	#antiAlias = 1
       	niceText = 1

       	backColor = white
       	textMaxLength = 500
     	}
}

A normal TS for generating an image with text on it used as a background 
image.
Bbecauuse I use the abstract field for the text input, the image can 
variate in height and I need the height of the generated image to be 
used as thhe height of the span that has this image as a background image.

Any way I can retrieve this information?

tnx in advanced
Rob



-- 
------------------------------------------------------------
web : http://www.rob-ot.be
skype : rob-ot
------------------------------------------------------------
[O_o] -- Don't feed the rob-ot


More information about the TYPO3-english mailing list