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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file leukeleu-thumbor-multidir-1.0.0.tar.gz.
File metadata
- Download URL: leukeleu-thumbor-multidir-1.0.0.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 |
0c795b0a32ef124a1e0c62493824d8227b29fb63f3bbdeb424298b575bb85aff
|
|
| MD5 |
4e9a17c110e3fc777f072182e22816a7
|
|
| BLAKE2b-256 |
d6f215fac501d0f3ef9f9879acac660000577ff86efaffd6f35ee96406470dab
|
File details
Details for the file leukeleu_thumbor_multidir-1.0.0-py3-none-any.whl.
File metadata
- Download URL: leukeleu_thumbor_multidir-1.0.0-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 |
23ff8dd57f4693368427f83a50bb1d4d289d97e2a0517f2aa1fb3553663f033c
|
|
| MD5 |
3ec2c17b73e771b5dd617040b26636df
|
|
| BLAKE2b-256 |
6f275d9ece3476751fb77e4e7a069873c736669636f143b097fb96cd64a5654a
|