Resize or Modify an image before saving
Small snippet that will resize all images before they uploaded to the server.
- image
- pil
- resize
- save
- imagefield
- modified
- pre_save
- override
Small snippet that will resize all images before they uploaded to the server.
This script will reload apache when any modifications are detected in a folder - useful only if the development server or mod_python's reload does not suit your needs for testing. It requires Linux 2.6.13+, Python 2.5, and the [development version of pyinotify](http://seb.dbzteam.com/pages/pyinotify-dev.html).
2 snippets posted so far.