A WSGI application to resize images on the fly and optionally save the resized image to an S3 bucket.
In combination with an S3 image store and some Nginx/Varnish-fu, this lets you set up a system whereby thumbnails are only generated if they do not exist in an S3 bucket. Upon the first request for that image/size combination, a thumbnail is generated and saved to S3. Any subsequent requests for this image/size will receive the saved version.
Edit settings.py to match your environment Run it with gunicorn or another WSGI server: gunicorn res3izer.app spawning res3izer.app
- Example configs for Nginx/Varnish