A very indepth image upload class with resizing, chmod, check if image is broken, and more.