summaryrefslogtreecommitdiff
path: root/searx/templates/default
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2015-01-16 16:26:48 +0100
committerAdam Tauber <asciimoo@gmail.com>2015-01-16 16:26:48 +0100
commita1bf02e6526743cd834850b0f58ec8a1115a25b2 (patch)
tree0b1e77bbb6caa05e9a9850403b7f29bfce380462 /searx/templates/default
parent01143f48c527ff7bb98b9a9e3d31f087d7d30ca3 (diff)
[enh] add image proxy to image results
Diffstat (limited to 'searx/templates/default')
-rw-r--r--searx/templates/default/result_templates/images.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/default/result_templates/images.html b/searx/templates/default/result_templates/images.html
index 9cb82ba51..d6a0f84a1 100644
--- a/searx/templates/default/result_templates/images.html
+++ b/searx/templates/default/result_templates/images.html
@@ -1,6 +1,6 @@
<div class="image_result">
<p>
- <a href="{{ result.img_src }}"><img src="{{ result.img_src }}" title="{{ result.title|striptags }}" alt="{{ result.title|striptags }}" /></a>
+ <a href="{{ result.img_src }}"><img src="{{ image_proxify(result.img_src) }}" title="{{ result.title|striptags }}" alt="{{ result.title|striptags }}" /></a>
<span class="url"><a href="{{ result.url }}" class="small_font">{{ _('original context') }}</a></span>
</p>
</div>