A simple php class to resize images and cache them to s3 on the fly