Skip to main content

Thumbor file loader for multiple paths

Project description

Thumbor file loader that checks multiple paths


[Thumbor]( is a smart imaging service. It enables on-demand crop, resizing and flipping of images.


Using it is simple, just change your configuration in thumbor.conf (or enviroment variable) before running Thumbor:

# List of paths to check for file to load # defaults to empty list which is an error so all requests will return 404 TC_MULTIDIR_PATHS = [‘/home/media’, ‘/mnt/media’]

To use tc_multidir for loading original images, change your thumbor.conf or environment variables to read:

LOADER = ‘tc_multidir.loader’

Running Thumbor

Note: If using environment variables run Thumbor with the –use-environment flag or other method to load it into the thumbor.conf template.

See [Thumbor repo]( or use the Docker container maintaned by [MinimalCompact]( as a base image… see [/docker/Dockerfile]( for an example.

Project details

Download files

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

Files for thumbor-multidir, version 0.2.8
Filename, size File type Python version Upload date Hashes
Filename, size thumbor_multidir-0.2.8-py2-none-any.whl (6.4 kB) File type Wheel Python version py2 Upload date Hashes View hashes
Filename, size thumbor_multidir-0.2.8.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page