Ancient code of phpThumbnailer a simple PHP class for create thumbnails or resize images.