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
I have minor problem with double image append (for thumbnails).
It's like this:
1. Upload a file name (eg. image01.jpg) and I will get a thumbnail (eg. image01_th.jpg).
2. Repeat process and I will get a thumbnail (eg. image01_th_1.jpg).
As you can see, to avoid overwriting, it will append an incrementing value after the _th append.
Question is...
How can I move the incrementing value like (eg. image01_1_th.jpg)
I love your class.