class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
more info about the class
$handle->Process("$template_dir"); $handle->file_max_size = '102400'; // 1KB $handle->allowed = array('image/*'); $handle->image_resize = true; $handle->image_x = 100; $handle->image_ratio_y = true; $handle->Process("$template_dir"); $handle->Process("$template_dir");
$names[] = $handle->file_dst_name;
I create 2 images
when i proccess
I keep the name of image, but how i keep name of thumbnail?
regards.