Reply to Re: Resizing images - images too big?

Re: Resizing images - images too big? new!
by Ken, 16 years, 6 months ago
If this is any help, this is the script I'm using:

$handle = new upload("../temp_photos/mytest.jpg");
$handle->file_max_size='10240000';
if ($handle->uploaded) {
  $handle->image_crop = array(10,30,60,20);
  $handle->process("../temp_photos/");
  if ($handle->processed) {
    echo 'image cropped';
    $handle->clean();
  } else {
    echo 'error : ' . $handle->error;
  }
}
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