[TYPO3] GIFBUILDER question

LinTong pcu84424 at gmail.com
Wed Aug 6 15:12:04 CEST 2008


hallo StephenBungert

Do you mean:
	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
		10.file.width = 80c
       		10.file.height = 80c

But it still does not work. I can not find the parameter
"width""height" mean. Thanks very much.

2008/8/6 StephenBungert <stephenbungert at yahoo.de>:
>
> I had a similar need for tt_news articles.
>
> Someone eventually told me to use this code to get images that are all the
> same size, and if one side is to small the image would be scaled (preserving
> aspect ratio).
>
> image {
>      file {
>        maxW = 250
>        maxH = 150
>        XY = 250,150
>        width = 250c
>        height = 150c
>      }
>    }
>
> Maybe if you use similar settings for your image object (10), it will do
> what you want, but change the dimensions first to suit your design.
>
>
>
> LinTong wrote:
>>
>> 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)
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>
>>
>
>
> -----
> --
> Stephen Bungert
> --
> View this message in context: http://www.nabble.com/GIFBUILDER-question-tp18849213p18849377.html
> Sent from the TYPO3 English mailing list archive at Nabble.com.
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>



-- 
Best Regards
LinTong(Pierre)


More information about the TYPO3-english mailing list