Skip to content

Thumbor

Self-hosted image server that crops, resizes and filters pictures on demand through URLs

Permissive (OSI) · MIT
  • Self-hosted

Listed by , founder & editor

64

Health

Active

Overview

Stars

10,533

Last commit

9 days ago

Nov 2026

Repository age

15 years

since Mar 2011

Latest version

7.8.0

May 2026

Contributors

–

5 active in 90 days

Releases

1

last 12 months

Language

Python

Thumbor is an HTTP image service written in Python. You request an image through a URL, and the path carries the size, crop mode and filters. A request like 300x200/smart/ followed by an image address returns that image at 300 by 200 pixels. One source file can produce as many variants as your pages need.

Its smart mode detects faces and other points of interest, so automatic crops are less likely to cut off the subject. Thumbor also flips images, adds watermarks and optimizes output. It handles common formats such as JPEG, PNG, GIF, WebP and AVIF. Results can be cached, and storage backends include local disk, AWS S3 and Ceph.

You can install it with pip, with apt on Debian and Ubuntu, or run the official Docker image. An optional OpenCV extra adds more detection. It is extensible through custom filters, storages, engines and loaders, and client libraries exist for many languages. It is a self-hosted alternative to paid image resizing and delivery services. It is MIT licensed and has been developed since 2011.

Who it's for

Web developers serving responsive images

One URL scheme produces every thumbnail size without pre-generating files.

Skip if: You want a visual photo library to browse, since this is a service with no gallery interface.

Media and publishing teams

Face-aware cropping keeps subjects in frame across layouts.

Skip if: Your editors crop by hand and need a graphical editor.

Platform engineers running their own infrastructure

It ships as a Docker image and works with S3-style storage.

Skip if: You do not want to operate and cache a server yourself.

The problem it solves

Sites need the same picture in many sizes and crops, and generating them ahead of time is tedious. Automatic crops often cut off faces. Thumbor creates each version when it is requested and picks the crop around the important part of the image.

Strengths

  • Size, crop and filters are set in the URL path
  • Face and feature detection guides smart cropping
  • Stores images on local disk, AWS S3, Ceph and others
  • Installs by pip, apt or an official Docker image
  • MIT licensed, in development since 2011

Trade-offs

  • It is an HTTP service, not a photo gallery or manager
  • You must run, secure and cache the server yourself
  • Only one release in the past year

Self-host Thumbor

Self-hostable
Yes

Quick start

docker run -p 8888:8888 ghcr.io/thumbor/thumbor:latest

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is Thumbor free?

Yes. It is MIT licensed and free to use and self-host.

How do I run it with Docker?

Run the official image from GitHub Container Registry and publish port 8888.

Which image formats does it handle?

Common formats work out of the box, including JPEG, PNG, GIF, WebP and AVIF.

Can I install it without Docker?

Yes. Use pip, or apt on Debian and Ubuntu.

Similar tools in Photo galleries and managers

Damselfly

Photo galleries and managers

Self-hosted photo manager with fast search and face recognition for large folder libraries

1.8k 95 10 months ago Dormant GPL-3.0

Immich Kiosk

Photo galleries and managers

Slideshow server that shows your Immich photos on browsers and wall displays

1.8k 96 yesterday Thriving AGPL-3.0

LibrePhotos

Photo galleries and managers

Self-hosted photo library with face recognition and semantic search for privacy-minded

8.2k 416 today Thriving MIT

Replaces Amazon PhotosGoogle Photos

HomeGallery

Photo galleries and managers

Self-hosted web gallery for browsing personal photos and videos from your own storage

1.2k 108 17 days ago Active MIT

ChronoFrame

Photo galleries and managers

Self-hosted photo gallery with map browsing, Live Photos and S3 storage

2k 159 today Thriving AGPL-3.0

PicImpact

Photo galleries and managers

Self-hosted photo portfolio site with EXIF, map and Live Photos for photographers

1.3k 212 2 months ago Active MIT