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
Close
Hashes for leukeleu-thumbor-multidir-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c795b0a32ef124a1e0c62493824d8227b29fb63f3bbdeb424298b575bb85aff |
|
MD5 | 4e9a17c110e3fc777f072182e22816a7 |
|
BLAKE2b-256 | d6f215fac501d0f3ef9f9879acac660000577ff86efaffd6f35ee96406470dab |
Close
Hashes for leukeleu_thumbor_multidir-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23ff8dd57f4693368427f83a50bb1d4d289d97e2a0517f2aa1fb3553663f033c |
|
MD5 | 3ec2c17b73e771b5dd617040b26636df |
|
BLAKE2b-256 | 6f275d9ece3476751fb77e4e7a069873c736669636f143b097fb96cd64a5654a |