Skip to main content

On-the-fly image manipulation for Django 1.11+.

Project description

Django Daguerre makes it easy to adjust images on-the-fly without slowing down your templates and without needing to generate everything ahead of time with a cron job. You don’t need to make any changes to your models; it Just Works.

{% load daguerre %}
<img src="{% adjust my_model.image "fill" width=200 height=400 %}" />

{% adjust_bulk my_queryset "method.image" "fill" width=200 height=400 as adjusted_list %}
{% for my_model, image in adjusted_list %}
  <img src="{{ image }}" />
{% endfor %}
build status:build-image


  • Python 3.5+
  • Pillow
  • Django 1.11 – 3.0

Daguerre may work with earlier or later versions of these packages, but they are not officially supported.


You can install the latest version of Daguerre using pip:

$ pip install django-daguerre

You can clone the repository yourself at


Ensure that 'daguerre' is in your project’s INSTALLED_APPS:


Add the following or similar anywhere in your URLconf:

urlpatterns = patterns('',
    url(r'^daguerre/', include('daguerre.urls')),

Run the migration command to create the database models:

python migrate daguerre


You can run the tests with test_project/ test daguerre.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-daguerre, version 3.0.0
Filename, size File type Python version Upload date Hashes
Filename, size django-daguerre-3.0.0.tar.gz (584.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page