Skip to content
This repository was archived by the owner on Jul 3, 2020. It is now read-only.
/ thumbor Public archive
forked from thumbor/thumbor

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

License

Notifications You must be signed in to change notification settings

food52/thumbor

 
 

Repository files navigation

This is the food52 fork of thumbor.

Our customizations

We've made the following changes:

  1. For performance, don't check the results storage for each request. Our results storage is S3, so these checks are very expensive, and since our infrastructure tries to route resizing requests to thumbor only when they don't exist in S3, there's little upside.

  2. Make a signal handler reentrant.

  3. Add mechanism for graceful shutdown.

  4. Add option to specify logfile path.

Branches, Tags

Our production system is currently branched of off thumbor version 4.11.1; the ref is 4.11.1-f52v1. Our development is on food52-mainline, which is the default branch in GitHub.

Version 5 appears to have involved a major refactoring, so there will probably be some pain in merging our changes with upstream

Original README

thumbor is a smart imaging service. It enables on-demand crop, resizing and flipping of images.

It also features a VERY smart detection of important points in the image for better cropping and resizing, using state-of-the-art face and feature detection algorithms (more on that in Detection Algorithms).

Using thumbor is very easy (after it is running). All you have to do is access it using an URL for an image, like this:

http://<thumbor-server>/300x200/smart/s.glbimg.com/et/bb/f/original/2011/03/24/VN0JiwzmOw0b0lg.jpg

That URL would show an image of the big brother brasil participants in 300x200 using smart crop.

There are several other options to the image URL configuration. You can check them in the Usage page.

For more information check thumbor's documentation.

Demo

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 89.4%
  • C 9.9%
  • Other 0.7%