django-loupe 0.1 documentation
Install Django Loupe using pip:
pip install django-loupe
Add "loupe", to your Django project’s INSTALLED_APPS.
Install VIPS on your platform. There are packages for Windows, and most Linux distributions include a package. There is a homebrew recipe for Mac OS X.
In the template include the JavaScript:
{% load loupe_tags %}{% openseadragon_js %}
{{ object.render }} will include the HTML fragment for the large image.