[TYPO3] GIFBUILDER question

LinTong pcu84424 at gmail.com
Wed Aug 6 13:24:50 CEST 2008


Hallo everybody



I would like to scale an image by using GIFBUILDER but do not change
the ratio fo the width to the height.The max length of height or width
is 80px. At first i used the folling code:


10 = IMAGE
10.file = GIFBUILDER
10.file {
XY=80,80
10 = IMAGE
10.file.import = uploads/tx_templavoila/
10.file.import.current = 1
10.file.import.listNum = 0
10.file.maxW = 80
10.file.maxH = 80
 }

But the size of image is fixed 80*80, and if the original size is
80*40,  GIFBUILDER  will generate an empth part. So I tried the
following code:

 10 = IMAGE
10.file = GIFBUILDER
10.file {
10 = IMAGE
10.file.import = uploads/tx_templavoila/
10.file.import.current = 1
10.file.import.listNum = 0
10.file.maxW = 80
10.file.maxH = 80
 }

But the size of generated image is fixed to 120*50. I don't know why.
Who can help me? thanks very much

-- 
Best Regards
LinTong(Pierre)


More information about the TYPO3-english mailing list