# Thumbor

Thumbor is an open-source smart imaging service that crops, resizes, flips, filters and optimises images on demand via simple HTTP URLs.

Canonical page: https://ourlocalhost.com/app/8818/thumbor

## Description

Thumbor is an open-source smart imaging service that crops, resizes, flips, filters and optimises images on demand via simple HTTP URLs. It uses AI-powered face and feature detection to identify the important points of an image so automated crops keep the subject in frame. It is aimed at developers and self-hosters who need a fast, URL-driven image resizing and thumbnail service for websites and apps, with pluggable storage and result caches.

## Platform availability

Available on 1 of 10 platforms: Any server.

## Health score

78/100 (Good), based on 4 of 5 factors.
- Maintained: 100 (last commit 11 days ago)
- Popular: 80 (10,533 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Security check: 84 (no serious findings, CI, tests, OpenSSF Scorecard 6.1/10)

## Links

- Official website: http://thumbor.org/
- GitHub: https://github.com/thumbor/thumbor
- Documentation: http://thumbor.readthedocs.org/en/latest

## Common questions

### How do I run Thumbor in Docker and on which port?

Run the official image with `docker run -p 8888:8888 ghcr.io/thumbor/thumbor:latest`. Thumbor listens on port 8888 by default.

### Why is Thumbor slow when handling many image requests?

By default only one worker process handles all requests. Add more processes, e.g. set THUMBOR_NUM_PROCESSES=8, so heavy image editing doesn't bottleneck on a single process.

### How do I enable face and feature detection?

Detection isn't enabled out of the box. Set the DETECTORS environment variable (e.g. thumbor.detectors.queued_detector.queued_complete_detector) and typically point REDIS_QUEUE_SERVER_HOST at a Redis server, since smarter detection and shared caching depend on these settings.

### Why does Thumbor ignore my proxy settings when fetching remote images?

The curl-based loader needs pycurl, which is included if you install with `pip install thumbor[all]`. Without pycurl it logs a warning, ignores the proxy variables, and fetches images directly.

### What does the /unsafe part of Thumbor URLs mean?

It indicates the URL is unauthenticated and anyone can request arbitrary transformations. You can instead use signed URLs, which include a hash key, to restrict what operations clients can request.

### What storage and loader backends are available?

Thumbor ships with file, http, redis and mongo implementations for loaders and storages, and it's straightforward to implement your own if none fit.

## Alternatives

- ImageMagick: ImageMagick is a free, open-source suite for creating, editing, composing, and converting bitmap images in a wide range of formats, includi…

---
Source: Our Local Host (https://ourlocalhost.com/app/8818/thumbor), the self-hosted and open-source app directory.
