Thumbor file loader that support multiple source paths
Project description
leukeleu-thumbor-multidir
Thumbor file loader that checks multiple paths
Introduction
Thumbor is a smart imaging service. It enables on-demand crop, resizing and flipping of images.
By default, the Thumbor file loader only loads images from a single path. Using this loader, multiple paths can be specified. The first path that contains the requrest image is then used.
Usage
To enable this loader, add the following to thumbor.conf
:
LOADER = 'tc_multidir.loader'
Then, configure the paths to check for the image:
# List of paths to check for file to load (required)
TC_MULTIDIR_PATHS = ['/home/media', '/mnt/media']
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
File details
Details for the file leukeleu-thumbor-multidir-1.0.0.dev0.tar.gz
.
File metadata
- Download URL: leukeleu-thumbor-multidir-1.0.0.dev0.tar.gz
- Upload date:
- Size: 75.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b18b1cd124cba57205500b63b12b66b01f9742ccce637c81a56fe3f29a5f2b3 |
|
MD5 | 57aecbdc23bec32a205be8bca9a93027 |
|
BLAKE2b-256 | c366e4c9510e5cdb5c0abc4b8cad08f9df665208fce833dc0308c13845b682cd |
File details
Details for the file leukeleu_thumbor_multidir-1.0.0.dev0-py3-none-any.whl
.
File metadata
- Download URL: leukeleu_thumbor_multidir-1.0.0.dev0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cc7478e44de68f2c1811a6d29f8929b6b549cd5cc5dbea68be53e7aba3b3c34 |
|
MD5 | 72364be7b56b177cb6bd866737886500 |
|
BLAKE2b-256 | a308749cebfc9787b1890414e43f326ce0d548e8506781beac2f5ef0d5c23fd0 |