[TYPO3] re sizing images in tt_news

Antonio Willybiro keiser_soze at hotmail.com
Fri Jul 4 09:07:34 CEST 2008


Hi,

maybe you should go it in css then,
.foo img {
            width:150px
            height:100px;
}

A.

"StephenBungert" <stephenbungert at yahoo.de> wrote in message 
news:mailman.12300.1215097626.4573.typo3-english at lists.netfielders.de...
>
> This is driving me crazy, can someone give me some tips on how do solve my
> problem?!?
>
> I want the images in list view to be 100px high by 150px wide. I want the
> image to take up the whole space, so there is no empty space on the sides,
> so they should be scaled if they are too small.
>
> This is what I have now:
>
>
> plugin.tt_news {
>  displayList {
>    image {
>      file {
>        width = 150c
>        height = 100
>        maxWidth = 150
>        maxHeight = 100
>      }
>    }
>  }
> }
>
> Forsome reason this makes images 120 x 90 pixles, why's that? I set it to
> 150x100, or have I got my TS wrong?
>
> Sometimes the image are portrait sometimes landscape. Whatever it is, I 
> want
> TYPO3 to automatically size to my size and scale it so the image takes up
> the whole space.
>
> How can I achieve this?
>
> -----
> -- 
> Stephen Bungert
> -- 
> View this message in context: 
> http://www.nabble.com/resizing-images-in-tt_news-tp18260193p18260193.html
> Sent from the TYPO3 English mailing list archive at Nabble.com.
> 




More information about the TYPO3-english mailing list