skip to navigation
skip to content

Not Logged In

django-thumbor 0.3

A django application to resize images using the thumbor service

Latest Version: 0.5

A django application to resize images using the thumbor service.


Both thumbor_url templatetag and the generate_url helper uses the same arguments as libthumbor, you can check the wiki for more info.

On templates:

{% load thumbor_tags %}
<img src="{% thumbor_url '/media/image.jpg' width=300 %}" width="300" />

On code:

from django_thumbor import generate_url
resized = generate_url("/media/image.jpg", width=300)


pip install django-thumbor


Add the app to the INSTALLED_APPS:

    # ...

Here are the default settings that you can override:

# The host serving the thumbor resized images
THUMBOR_SERVER = 'http://localhost:8888'

# The prefix for the host serving the original images
# This must be a resolvable address to allow thumbor to reach the images
THUMBOR_MEDIA_URL = 'http://localhost:8000/media'

# The same security key used in the thumbor service to
# match the URL construction

# Default arguments passed to the `generate_url` helper or
# the `thumbor_url` templatetag



Fork, clone, create a virtualenv and run:

git clone git://
mkvirtualenv django-thumbor
make install


Add tests on testproject/tests, add code and run:

make test
File Type Py Version Uploaded on Size
django-thumbor-0.3.tar.gz (md5) Source 2013-05-10 2KB
  • Downloads (All Versions):
  • 37 downloads in the last day
  • 362 downloads in the last week
  • 1905 downloads in the last month