Imageserver is a project mainly written in PHP, it's free.
EC2 & S3 image processing server
404: Not Found