[TYPO3] re sizing images in tt_news

Chris chris at oblady.com
Mon Jul 7 09:52:17 CEST 2008


More than this : XY isn't part of the imgResource section in TS Ref, it 
only appears in gifbuilder ?!

so, thanks for showing :-)


Chris


StephenBungert a écrit :
> Perfect,
> 
> thanks for your help, and everyone elses. You should put this in that new
> typo3 snippet Library. Or get the dev from tt_news to include it as an
> example in the configuration section.
> 
> 
> 
> Jan Wischnat.de wrote:
>> Hello Stephen,
>>
>> this should work:
>>
>>    plugin.tt_news.displayList {
>>    image.file.maxW = 150
>>    image.file.maxH = 100
>>    image.file.XY = 150,100
>>    image.file.width = 150c
>>    image.file.height = 100c
>>    }
>>
>> It works for me on http://schwangau.de (6 latest newsitems in the center 
>> column). Note that i am using other dimensions for the images (165x109).
>>
>> Yours
>>
>> Jan
>>
>>
>>
>> StephenBungert schrieb:
>>> This had the same effect as setting just width and height without m or c
>>> in
>>> typo3.
>>>
>>> Looks ok, as long as the images are larger then 150 x 100 otherwise they
>>> stretch.
>>>
>>> The shrinkage for large images is not so noticable.
>>>
>>> What I#m after are images 150 x 100,
>>>
>>> scaled so that that whole sapce is filled with the image (whatever size
>>> it
>>> originally is), and if the resulting image (after scaling) is to big, it
>>> gets cropped.
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>
>>
> 
> 
> -----


More information about the TYPO3-english mailing list