Is it one of those scripts where no matter what image you try to save it saves it as image.php instead?
Also, do you have an example page I could see? I've seen some like this before where it named it image.php and I would just rename the file image.jpg on my computer and it let me view the image heh
