Skip to main content

On-the-fly image manipulation for Django.

Project description

Django Daguerre
===============

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

Requirements
------------

* Python 2.5+
* PIL 1.1.7 (Or [Pillow](http://pypi.python.org/pypi/Pillow))

Installation
------------

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

pip install django-daguerre

Setup
-----

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

INSTALLED_APPS = (
'daguerre',
...
)

Add the following or similar anywhere in your URLconf:

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

Usage
-----

The easiest way to use Daguerre is through the `{% adjust %}` template tag:

{% load daguerre %}
<img src="{% adjust my_model.image.name width=128 height=256 %}" />

For more on using Daguerre, [read the documentation](http://django-daguerre.readthedocs.org/).

Project details


Release history Release notifications

History Node

2.2.3

History Node

2.2.2

History Node

2.2.1

History Node

2.2.0

History Node

2.1.4

History Node

2.1.3

History Node

2.1.2

History Node

2.1.1

History Node

2.1.0

History Node

2.0.1

History Node

2.0.0

History Node

1.0.1

History Node

1.0.0

This version
History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-daguerre-0.1.tar.gz (24.3 kB) Copy SHA256 hash SHA256 Source None Aug 22, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page