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.
The following code returns "image resized" message but doesn't work. I have a file already on the server and this code somehow deletes it but doesn't replace it:
I am trying to resize and then overwrite the existing image.