Skip to main content

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']

Release files for leukeleu-thumbor-multidir 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for leukeleu-thumbor-multidir 1.0.0
File Size Uploaded
leukeleu-thumbor-multidir-1.0.0.tar.gz 75.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for leukeleu-thumbor-multidir 1.0.0
File Interpreter ABI Platform
leukeleu_thumbor_multidir-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 78.7 kB

Release files / leukeleu-thumbor-multidir-1.0.0.tar.gz

Download URL leukeleu-thumbor-multidir-1.0.0.tar.gz
Size 75.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0c795b0a32ef124a1e0c62493824d8227b29fb63f3bbdeb424298b575bb85aff
BLAKE2b-256 checksum
How to use checksums
d6f215fac501d0f3ef9f9879acac660000577ff86efaffd6f35ee96406470dab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Release files / leukeleu_thumbor_multidir-1.0.0-py3-none-any.whl

Download URL leukeleu_thumbor_multidir-1.0.0-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
23ff8dd57f4693368427f83a50bb1d4d289d97e2a0517f2aa1fb3553663f033c
BLAKE2b-256 checksum
How to use checksums
6f275d9ece3476751fb77e4e7a069873c736669636f143b097fb96cd64a5654a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page