Problems with Resizing

See all posts See thread Reply

Re: Problems with Resizing new!
by colin, 9 years, 7 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
Re: Problems with Resizing new!
by Martina, 9 years, 7 months ago
oh many thanks - that works!!!!!!

regards martinaReply