fork of http://phpthumb.sourceforge.net/