Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

thumbor

> 编程语言
Open source

thumbor is an open-source photo thumbnail service by globo.com

10.5K stars0 likes3 views
WebsiteGitHub

About

thumbor is an open-source photo thumbnail service by globo.com

Join thumbor-bootcamp for a learning and contribution experience with ❤️ and from the thumbor team

Crop, resize, transform and much more, all on-demand and AI Powered


thumbor is trusted by hundreds of companies worldwide

                   
and many more!

thumbor is a smart imaging service that enables on-demand cropping, resizing, applying filters and optimizing images.

Cropping photos automatically can be a frustrating experience with severed heads involved. thumbor uses AI for smart detection.

thumbor is an HTTP server and you can create as many different images as you want just by varying path parameters:

http://<thumbor-server>/300x200/smart/thumbor.readthedocs.io/en/latest/_images/logo-thumbor.png

You should see an image of the thumbor logo in 300x200.

Learn more about all you can do in thumbor's documentation.

⚙️ Installation

Decide which installation option you want to use.

Option 1: pip

bash
# thumbor with main dependencies only
pip install thumbor

# thumbor with OpenCV dependency
pip install thumbor[opencv]

# thumbor with all dependencies
pip install thumbor[all]

Option 2: Binary

Available as a package in the official repositories of distributions such as Debian and Ubuntu.

bash
sudo apt update
sudo apt install thumbor

Option 3: Docker

An official Docker image is available on GitHub Container Registry:

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

For more information about the Docker image and available tags, visit the GitHub Container Registry.

For more ways, please check out Installation.

Development

Sync the development environment, install the pre-commit hooks, and run the test suite:

bash
make setup
make pre-commit  # only needed once per clone
make compile_ext
make test

make setup uses an existing uv installation or installs the pinned version into .uv-venv when uv is not available. The development environment is stored in .venv. Use make run to start thumbor from this environment.

The lockfile is managed with uv lock and should be committed when dependencies change.

Run

Running an installed copy is as easy as:

bash
thumbor

From a development checkout, use make run instead.

After this, you can reach it on http://localhost:8888/unsafe/https://raw.githubusercontent.com/thumbor/thumbor/master/example.jpg

Troubles?

If you experience any troubles, try running:

bash
thumbor-doctor

From a development checkout, run the same commands through uv run --locked thumbor-doctor.

If you have a thumbor.conf file, you can use that to help thumbor-doctor:

bash
thumbor-doctor -c thumbor.conf

If you still need help, please raise an issue. Remember to send your thumbor-doctor output in the issue:

bash
thumbor-doctor --nocolor -c thumbor.conf

Features

  • supports all common images formats out of the box
  • intelligent cropping and resizing
  • blazing fast using caching
  • supports many storages (local storage, AWS S3, Rackspace, Ceph, ...)
  • AI-powered cropping based on face and feature detection (glasses, interesting points, ...)
  • integrated with many programming languages and frameworks and many more...
  • highly extensible

Awesome Goodies

awesome-thumbor is a curated list of all things thumbor. There you can find filters, storages, engines, loaders, docker images, extensions in your favorite language and framework, and much more.

All of it with a clear indication of each project's quality. Have fun!

Contribute

thumbor is an open-source project with many contributors. Join them contributing code or contributing documentation.

If you use thumbor, please take 1 minute and answer this survey? Only 2 questions!

Join the chat at https://gitter.im/thumbor/thumbor

Demo

You can see thumbor in action at http://thumborize.me/

Issues· 31 open

View all issuesOpen on GitHub
  • #1883

    no_upscale() cancels fill()'s canvas expansion, so a no-upscale pad does not pad

    do-not-reapUpdated Sep 27, 2026
  • #1886

    [Bug] PILLOW_PRESERVE_INDEXED_MODE drops transparency on GIF output from a palette source

    do-not-reapUpdated Sep 27, 2026
  • #1850

    Add configuration to limit permitted `format()` conversions

    do-not-reapUpdated Sep 19, 2026
  • #1613

    Uploading files with 'umlauts' in filename not working

    BUGdo-not-reapUpdated Sep 7, 2026
  • #1687

    Unexpected Black Border in Rounded Corner Image with Transparency true

    do-not-reapUpdated Sep 7, 2026
  • #1776

    [Bug] Some animated gifs are framed faster after conversion

    BUGdo-not-reapUpdated Sep 7, 2026
  • #1851

    Thumbor visual editor

    Updated Sep 7, 2026
  • #1888

    [Bug] Post-transform filters are skipped for every GIF source, even with USE_GIFSICLE_ENGINE = False

    Updated Sep 7, 2026
  • #1889

    [Bug] An animated WebP source is flattened to one frame at decode, while an animated GIF survives

    Updated Sep 7, 2026
  • #1711

    image resizer fails in transparent pngs

    do-not-reapUpdated Jun 12, 2026

> Tags

Pythonhacktoberfest

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言