CGSmartImage filter_croptofit problem
Posted: Fri Dec 20, 2013 2:43 pm
Hello everyone,
I have a small problem using CGSmartImage. I want to perform a croptofit action on a image that has only to be cropped in height. F.i. my image is now 924x616px and it has to be cropped to 924x520px. I therefor use this code:
The result I get is an image which is 924px wide but the height is scaled down to 520px instead of cropped to 520px.
I can't see what I am doing wrong. Can someone help me out?
Thanks in advance.
Kind Regards,
Ron Hoenson
I have a small problem using CGSmartImage. I want to perform a croptofit action on a image that has only to be cropped in height. F.i. my image is now 924x616px and it has to be cropped to 924x520px. I therefor use this code:
Code: Select all
{CGSmartImage src=$file filter_croptofit='924,520,c' quality=100 noembed=1}
I can't see what I am doing wrong. Can someone help me out?
Thanks in advance.
Kind Regards,
Ron Hoenson