aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Angell <josh@supercooldesign.co.uk>2012-02-22 16:57:04 +0000
committerJosh Angell <josh@supercooldesign.co.uk>2012-02-22 16:58:22 +0000
commit83979f8206e2041f19bed5c6a04d8ebf650ae030 (patch)
treea3fad43313f08e798d6c9990c47d22d543683c0b
parent3b73b22a8c129e2598b11b7c61bd621103fd384e (diff)
Photo resizing (fixes #226)
Signed-off-by: Josh Angell <josh@supercooldesign.co.uk>
-rw-r--r--templates/web/fixmystreet/around/around_map_list_items.html2
-rw-r--r--templates/web/fixmystreet/around/on_map_list_items.html2
-rw-r--r--templates/web/fixmystreet/index.html2
-rw-r--r--templates/web/fixmystreet/report/photo.html2
4 files changed, 4 insertions, 4 deletions
diff --git a/templates/web/fixmystreet/around/around_map_list_items.html b/templates/web/fixmystreet/around/around_map_list_items.html
index e1c81b943..fed53d279 100644
--- a/templates/web/fixmystreet/around/around_map_list_items.html
+++ b/templates/web/fixmystreet/around/around_map_list_items.html
@@ -13,7 +13,7 @@
[% END %]
</div>
<div class="img">
- <img alt="" height="" width="100px" src="/photo?id=[%p.id%]">
+ <img height="60px" width="90px" src="/photo?id=[%p.id%];fp=1">
</div>
</a>
</li>
diff --git a/templates/web/fixmystreet/around/on_map_list_items.html b/templates/web/fixmystreet/around/on_map_list_items.html
index 724cb0e17..ce5639665 100644
--- a/templates/web/fixmystreet/around/on_map_list_items.html
+++ b/templates/web/fixmystreet/around/on_map_list_items.html
@@ -10,7 +10,7 @@
[% END %]
</div>
<div class="img">
- <img alt="" height="" width="100px" src="/photo?id=[%p.id%]">
+ <img height="60px" width="90px" src="/photo?id=[%p.id%];fp=1">
</div>
</a>
</li>
diff --git a/templates/web/fixmystreet/index.html b/templates/web/fixmystreet/index.html
index c6e3e69c6..96f4dddb5 100644
--- a/templates/web/fixmystreet/index.html
+++ b/templates/web/fixmystreet/index.html
@@ -74,7 +74,7 @@
<small>[% prettify_epoch( p.confirmed_local.epoch, 1 ) %]</small>
</div>
<div class="img">
- <img alt="" height="60px" width="90px" src="/photo?id=[%p.id%]">
+ <img height="60px" width="90px" src="/photo?id=[%p.id%];fp=1">
</div>
</a>
</li>
diff --git a/templates/web/fixmystreet/report/photo.html b/templates/web/fixmystreet/report/photo.html
index f266792b2..e74f0bbfe 100644
--- a/templates/web/fixmystreet/report/photo.html
+++ b/templates/web/fixmystreet/report/photo.html
@@ -1,6 +1,6 @@
[% IF c.cobrand.allow_photo_display && object.photo %]
[% photo = object.get_photo_params %]
<div class="update-img">
- <img alt="" height="" width="100px" src="[% photo.url %]">
+ <img src="[% photo.url %]">
</div>
[% END %]