http://www.gen-x-design.com/projects/php-thumbnailer-class/
http://phpspot.org/blog/archives/2006/08/phpphp_thumbnai.html