Reply to Re: Resizing images - images too big?

Re: Resizing images - images too big? new!
by Bruno Chavez, 16 years ago
Hi!!

I have the same problem, I work with local files, I uploaded with a perl cgi that I wrote, because my server is so limited in time limit, then when I process a small image, works really fine, but when I process 1MB > crash... don't tell anything, any error, simply when execute $handle->Process('../img/Thumbs1/'); don't continue... break...

Can you help me... my code is:

$handle = new Upload('../img/cuadros/' . $Archivo);
$handle->file_max_size='10240000';
if ($handle->uploaded) {
  $handle->image_convert         = 'jpg';
  $handle->image_resize            = true;
  $handle->image_ratio_y           = true;
  $handle->image_ratio_x           = true;
  $handle->image_x                 = 580;
  $handle->image_y                 = 460;
  $handle->Process('../img/Thumbs1/');
  if ($handle->processed) {
    rename('../img/Thumbs1/' . $handle->file_dst_name, '../img/Thumbs1/' . $ArchivoFin); 
  }
  $handle-> Clean();
}

please I need it...

Regards
Bruno ChávezReply

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