Skip to main content

On-the-fly image manipulation for Django.

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**.

.. code-block:: html+django

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

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

:build status: |build-image|

.. |build-image| image::


* Python 2.6+
* PIL 1.1.7 (Or `Pillow <>`_)


You can install the latest version of Daguerre using ``pip``::

pip install django-daguerre

You can clone the repository yourself at

.. highlight:: python


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')),


We recommend running `tox`_ from the repository's root directory,
but you can also run ``test_project/ test daguerre``.

.. _tox:

Project details

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 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size django-daguerre-1.0.0.tar.gz (572.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page