|
10 years ago | |
---|---|---|
.. | ||
test_data | 10 years ago | |
Readme.md | 10 years ago | |
__init__.py | 12 years ago | |
test_thumbnails.py | 10 years ago | |
thumbnailer.py | 10 years ago |
This plugin creates thumbnails for all of the images found under a specific directory, in various thumbnail sizes. It requires PIL to function properly since PIL is used to resize the images, and will only rebuild a thumbnail if it doesn't already exists (to save processing time).
Set up like a normal plugin by setting PLUGIN_PATH, and adding "thumbnailer" to the PLUGINS list.
PIL or Pillow
is required. If you go with Pillow, you need to install some additional
external libraries to add support for image types like jpg
.
Sizes can be specified using any of the following formats: