class.upload.php cannot do image resizing

See all posts Reply

class.upload.php cannot do image resizing new!
by jcheung, 15 years, 10 months ago
I downloaded class.upload.php and tried it out with a sample test which contains the following lines:

$handle->file_new_name_body='image_resized';
$handle->image_resize=true;
$handle->image_convert=gif;
$handle->image_x=300;
$handle->image_ratio_y=true;

But no resizing has been observed, except changing the file extension from .jpg to .gif.

Please help. If you have a working script, pls share it with me. Appreciated.Reply
Re: class.upload.php cannot do image resizing new!
by colin, 15 years, 10 months ago
Can you copy here the log produced by the class?Reply
Re: class.upload.php cannot do image resizing new!
by Alexander, 15 years, 9 months ago
Check if you have the GD2 or GD extension installedReply