in reply to GD thumbnail script errors

Make sure you close the file, otherwise you might not have the buffers flushed. I don't know for sure if Perl does this automatically for you or not.