Reply to Processing a second time after first process?

Processing a second time after first process? new!
by Murray Summers, 13 years, 11 months ago
Can I do something like this?

$handle->image_resize            = true;
$handle->image_ratio_y           = true;
$handle->image_x                 = 84;
$handle->image_border 		 = '1px';
$handle->image_border_color 	 = '#FFFFFF';
$handle->file_new_name_body 	 = substr($_POST['current1'],0,-4);
$handle->file_overwrite 	 = true;
$handle->Process($dir_dest);

// we check if everything went OK
if ($handle->processed) {
  $info = getimagesize($handle->file_dst_pathname);
  if ($info[1] > 70) $handle->image_crop = array(0,0,($info[1]-70),0);
    $handle->Process($dir_dest);
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