It is a python package for creating thumbnails. It is not tied to a specific web framework, but is designed to work with most of them and has planned integrations with Django and Flask.
Example site (Repo)
Documentation
As fast as we can get it out. The hope is before 1st of April.
-
get_thumbnail
should create image and save it - config loading
- Scale
- Crop
- Crop for aliases,
center
,top
,right
,bottom
,left
. - Crop for custom center-point
- Crop for aliases,
- Engines
- Extendible thumbnail engine
- Pillow
- graphicsmagick
- pgmagick
- WandEngine
- Caching
- Extendible caching backend
- Simple caching
- Caching backend for memcache
- Caching backend for redis
- Storage
- Extendible storage backend
- File system storage backend
- Django storage backend
- S3 ?
- Alternative resolutions
- Django-integration
- Load django settings
- Add path and url defaults for django
- Integrate with django cache
- Integrate with django storage
- Templatetag that calls
get_thumbnail
- Template filter that replaces all images with thumbnails
- Flask-integration
- Load Flask settings
- Add path and url defaults for Flask
- Documentation of everything
- Tests of everything
- Contributions guidelines
Nice ideas, you have already seen https://github.com/mariocesar/sorl-thumbnail/tree/python-thumbnail ?