Re: image_crop and then image_resize

See all posts Reply

Re: image_crop and then image_resize new!
by Pionas, 10 years, 9 months ago
Hi,

i have got some problem.
I woudl like to first crop image and then resize image.
I have got something like that:
$info = array($_POST["y"], $handle->image_src_x - $_POST["x2"], $handle->image_src_y -$_POST["y2"], $_POST["x"]);
$handle->image_resize          = true;
$handle->image_crop = $info;
$handle->image_y               = 80;
$handle->image_x               = 80;

crop image it's okay but resize new image does not work

Thanks for answerReply
Re: image_crop and then image_resize new!
by colin, 10 years, 9 months ago
It looks like you should use image_precropReply