Hey, I am selling this original image hosting script! It is very easy to customize, as it has a list of variables in a file that you can simply edit, and the code is FULLY commented.
http://mintysites.com/products/PhpHostingPictures.php << live preview of the script in action.
PM me or catch me on AIM as mccammoog (take out one 'o')
Buy Now for 10$. I can also customize it to your needs for a little more.