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.
I am not too sure what you mean. But it seems to me that this should be done outside the class. You do your upload, and if it fails, you use your default image.
Note that it if you want to process your default image, you can process it through the class (look in the doc for processing local images). So if the uploaded image fails, you can do a second process on your default image.Reply
Note that it if you want to process your default image, you can process it through the class (look in the doc for processing local images). So if the uploaded image fails, you can do a second process on your default image.