2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-04-01 07:11:36 +01:00

[svn] Dynamic thumbnail generation for photos and survey scans using imagekit, further improving registration system, other misc.

Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8336 by cucc @ 5/10/2009 11:05 PM
This commit is contained in:
substantialnoninfringinguser
2009-05-13 06:23:57 +01:00
parent 21204f1bc8
commit 8c68a8a0d7
11 changed files with 134 additions and 39 deletions

View File

@@ -11,13 +11,13 @@
{% block content %}
{% if person.blurb %}
{{person.blurb}}
{{person.blurb|safe}}
{% endif %}
{% for pic in person.photo_set.all %}
{% if pic.is_mugshot %}
<div class="figure">
<p> <img src="{{ pic.file.url }}" class="thumbnail" />
<p> <img src="{{ pic.thumbnail_image.url }}" class="thumbnail" />
<p> {{ pic.caption }}
</p>
</p>