Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

leukeleu-thumbor-multidir-1.0.0.dev0.tar.gz (75.1 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file leukeleu-thumbor-multidir-1.0.0.dev0.tar.gz.

File metadata

File hashes

Hashes for leukeleu-thumbor-multidir-1.0.0.dev0.tar.gz
Algorithm Hash digest
SHA256 4b18b1cd124cba57205500b63b12b66b01f9742ccce637c81a56fe3f29a5f2b3
MD5 57aecbdc23bec32a205be8bca9a93027
BLAKE2b-256 c366e4c9510e5cdb5c0abc4b8cad08f9df665208fce833dc0308c13845b682cd

See more details on using hashes here.

File details

Details for the file leukeleu_thumbor_multidir-1.0.0.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for leukeleu_thumbor_multidir-1.0.0.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 9cc7478e44de68f2c1811a6d29f8929b6b549cd5cc5dbea68be53e7aba3b3c34
MD5 72364be7b56b177cb6bd866737886500
BLAKE2b-256 a308749cebfc9787b1890414e43f326ce0d548e8506781beac2f5ef0d5c23fd0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page