[TYPO3-english] crop image typoscript

Marieke de Bruin marieke at purplesky.nl
Thu May 3 14:24:52 CEST 2012


Hi list,

I want to crop my image with typoscript but it's driving me nuts.
Or the widht is cropped or the hight. Not both.

What I want is the image to scale to 100px widht and then crop the height.
But the image get only scaled to 100px and not cropped.

I'm trying this in chgallery extension.
plugin.tx_chgallery_pi1{
   gallery.image {
        file.maxW >
        file.maxH >
        file.width = 100
        file.height = 56c
   }
}


What am I doing wrong?

Thanks in advance.

Marieke


More information about the TYPO3-english mailing list