Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

thumbor-multidir

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

thumbor-multidir

Thumbor file loader for multiple paths

  • 0.2.8
  • PyPI
  • Socket score

Maintainers
1

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.

Usage

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.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc