Reply to Re: Problems with Resizing

Re: Problems with Resizing new!
by colin, 10 years, 2 months ago
Can't you just do like this?
$handle->file_new_name_body = "300x160";
$handle->image_resize = true;
$handle->image_ratio_crop = true;    
$handle->image_x = 300;            
$handle->image_y = 160;            
$handle->image_ratio_no_zoom_in = true;
$handle->Process($filedir); 
$handle->Clean();

This will result in an image exactly 300x160, except if the original image is smaller than that.Reply

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