[TYPO3-english] crop image typoscript

Marieke de Bruin marieke at purplesky.nl
Thu May 10 10:13:58 CEST 2012


I found the problem. I don't have Image Magic available.
I already had jb_gd_resize installed but I found out this can't crop.
With extension SR GD Crop & Resize you can.

Marieke

2012/5/3 Marieke de Bruin <marieke at purplesky.nl>

> 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
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list