I can use your script and all its bells with my main site on godaddy. I have a prem account and i can host or alise multiple sites on this suposedly.
I cannot get the script working on the secoundary sites on subfolders. I have tried altering paths and such to no avail. I pretty shure the paths are right becouse i can still upload the full size image with cfml(my language of choice). But i cant compress it with your script (only under the secoundary domains). the structure is like this
D:\Hosting\findapro\jobsfolder\ this is secoundary site. these subfolders are your domains -script not worky
D:\Hosting\findapro\ this is primary domain - script worky
I am not good with php-

I have been trying very hard to find or come up with an answer to this- i will post if i find one