[TYPO3] re sizing images in tt_news

StephenBungert stephenbungert at yahoo.de
Sat Jul 5 22:12:52 CEST 2008


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
> 
> 


-----
-- 
Stephen Bungert
-- 
View this message in context: http://www.nabble.com/re-sizing-images-in-tt_news-tp18261487p18295835.html
Sent from the TYPO3 English mailing list archive at Nabble.com.



More information about the TYPO3-english mailing list