Hiya....
This is a great script. Good job doing it. One thing, would it be possible to use ImageMagik instead of GD ? Its a bit of a problem (as im finding) gettings hosts to update GD 1.6 to Gd 2.0. ImageMagik can be installed fairly easily on your virtual host via telnet and FTP if its not already on the server.
Sorry if this has come up before.... tried to read as many pages as possible! But there are 100+ now !