aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-06-15 10:15:41 +0100
committerStruan Donald <struan@exo.org.uk>2011-06-15 10:15:41 +0100
commitc62eb94799f854cb3fcaae8c8656a867e90c646e (patch)
tree8ad28ece4ce43699f080e387559693bec07f4ce8
parent815ce1e98c6024ec0ea4b2843981a00bfd88507e (diff)
use full url for photos
-rw-r--r--templates/web/default/admin/report_edit.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/default/admin/report_edit.html b/templates/web/default/admin/report_edit.html
index ef083ca7e..db3b5fb4f 100644
--- a/templates/web/default/admin/report_edit.html
+++ b/templates/web/default/admin/report_edit.html
@@ -38,7 +38,7 @@
[% IF problem.photo %]
[% photo = problem.get_photo_params %]
-<li><img alt="" height="[% photo.height %]" width="[% photo.width %]" src="[% photo.url %]">
+<li><img alt="" height="[% photo.height %]" width="[% photo.width %]" src="[% c.base_uri %][% photo.url %]">
<input type="checkbox" id="remove_photo" name="remove_photo" value="1">
<label for="remove_photo">[% loc("Remove photo (can't be undone!)") %]</label></li>
[% END %]