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.
Yes, I was wondering the same, as it was working for larger JPEGs (note that the filesize is irrelevant; only the number of pixels matter as the image is converted to bitmap in memory).
That's why I suggested a corrupted JPEG, which seems to have been the issue.Reply
That's why I suggested a corrupted JPEG, which seems to have been the issue.