[TYPO3] re sizing images in tt_news

Jan Wischnat.de jan at wischnat.de
Sat Jul 5 11:53:16 CEST 2008


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.


More information about the TYPO3-english mailing list