Thumbor file loader for multiple paths
Project description
Thumbor file loader that checks multiple paths
Introduction
[Thumbor](https://github.com/globocom/thumbor/wiki) is a smart imaging service. It enables on-demand crop, resizing and flipping of images.
Usage
Using it is simple, just change your configuration in thumbor.conf (or enviroment variable) before running Thumbor:
# List of paths to check for file to load # defaults to empty list which is an error so all requests will return 404 TC_MULTIDIR_PATHS = [‘/home/media’, ‘/mnt/media’]
To use tc_multidir for loading original images, change your thumbor.conf or environment variables to read:
LOADER = ‘thumbor_cassandra.loader’
Running Thumbor
See [Thumbor repo](https://github.com/thumbor/thumbor) or use the Docker container maintaned by [MinimalCompact](https://github.com/MinimalCompact/thumbor/tree/master/thumbor) as a base image… see [/docker/Dockerfile](https://github.com/benneic/thumbor_multidir/tree/master/docker) for an example.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for thumbor_multidir-0.2.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26a822bb377683072d903341da4696c8949eeba473878ec3855c71cba41970f2 |
|
MD5 | c37d287d9443a308948958aa7ba31a19 |
|
BLAKE2b-256 | 482a4fdaa4ad9e35148586456959ba18c79469d660536a98719594f7800d071c |