class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
more info about the class
After much more debugging I was able to make the script execute by choosing a smaller image file.
The original image was 324kb in size, 2832 x 4256 and seems to be straight off a Nikon camera.
i tried changing the server memory limits by putting the following at the top of the script:
ini_set ( "memory_limit", "40M");
But this had no positive effect.
What do I need to do so that I can make this work again in the future?