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.
and here i have 1 more question: i want the resized image is in size max 500 (width | height), and if the source image smaller it must be stretched. how i can i config it??
and here i have 1 more question:
i want the resized image is in size max 500 (width | height), and if the source image smaller it must be stretched. how i can i config it??
here is my code that doesn't work
$imageb->file_new_name_body = 'test'; $imageb->image_resize = true; $imageb->image_x = 500; $imageb->image_ratio_y = true; $imageb->process('upload/thumb/');