aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default/index.html
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-03-08 14:05:01 +0000
committerMatthew Somerville <matthew@mysociety.org>2012-03-08 14:05:01 +0000
commit1a5baa677635b0fb981bd4cf83e1843f8d5ef8ab (patch)
treef86ee8c99fd6269b925640dc2bb3ebb44ee279ce /templates/web/default/index.html
parent410d1f1edc737d1d60e83f90053fe028eff3de30 (diff)
Store full size photos that are uploaded on filesystem, put hash in database. Fixes #9, basics for #209 (needs light box adding).
Diffstat (limited to 'templates/web/default/index.html')
-rw-r--r--templates/web/default/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/default/index.html b/templates/web/default/index.html
index 0a0ee7170..e5f98b0c5 100644
--- a/templates/web/default/index.html
+++ b/templates/web/default/index.html
@@ -63,7 +63,7 @@
<p id="front_photos">
[% FOREACH p IN recent_photos %]
<a href="/report/[% p.id %]"><img border="0" height="100"
- src="/photo?tn=1&amp;id=[% p.id %]" alt="[% p.title | html %]" title="[% p.title | html %]"></a>
+ src="/photo/[% p.id %].tn.jpeg" alt="[% p.title | html %]" title="[% p.title | html %]"></a>
[% END %]
</p>
[% END %]