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
See all posts Reply
include('class.upload.php'); $handle = new upload('default.jpg'); $handle->file_overwrite = false; $handle->file_auto_rename = true; $handle->image_convert = 'png'; $handle->image_resize = true; $handle->image_ratio_no_zoom_in = true; $handle->image_x = 250; $handle->image_y = 100; $handle->image_ratio_crop = true; $handle->process(dirname(__FILE__).'/test/');
thanxs for your great upload class - very good work.
I am not quite sure - but i think i discovered a little bug...
Check this out - i convert a jpeg into a png with autorenaming - the file is converted but still has the suffix jpg...
Greetz Uli
Try to use the 0.25 RC1, that you can find here.
Greetz Uli