WSGI app for resizing and saving S3 images on the fly
Python
Switch branches/tags
Nothing to show
Permalink
Failed to load latest commit information.
.gitignore initial commit Feb 7, 2012
README.rst initial commit Feb 7, 2012
res3izer.py set content-type correctly when saving to S3 Apr 2, 2012
settings.py Added missing setting Feb 28, 2012

README.rst

res3izer

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.

Quick start:

Edit settings.py to match your environment
Run it with gunicorn or another WSGI server:
gunicorn res3izer.app
spawning res3izer.app

TODO

  • Docs
  • setup.py
  • Benchmarks
  • Example configs for Nginx/Varnish