PowerThumb's original code didn't work with IIS Servers because it does not send $_SERVER['DOCUMENT_ROOT']. I've changed a few lines and I think now it will work fine with other servers besides Apache.