Files and Folders: Image Uploader and Resizer Feighen Oosterbroek (contact me)
This class can be used to process and resize uploaded image files.
It can take an uploaded file and move it to given directory. If the directory does not exist, the class creates it and sets its permissions to make it accessible.
The class can also create a thumbnail files if the file is a GIF, JPEG or PNG image.