Reply to Re: Cropping question

Re: Cropping question new!
by colin, 17 years, 10 months ago
Yes, you can, but not with a white background.

Try to use image_ratio_crop instead of image_ratio. What is does is to fill the dimensions that you want with the image, keeping the ratio, and cropping the extra parts out.

You can set image_ratio_crop to true, or to a string with one or more from 'TBLR'. If you set it to true, the part of the image which is kept is at the centre of the picture. If you use T,B,L and/or R, you can choose which side or corner of the image is kept while the rest is cropped out.

I modified your picture so it explains how it works if you are to use image_ratio_crop.

See the samples to see examples of image_ratio_cropReply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important