diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2015-01-16 16:26:48 +0100 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2015-01-16 16:26:48 +0100 |
| commit | a1bf02e6526743cd834850b0f58ec8a1115a25b2 (patch) | |
| tree | 0b1e77bbb6caa05e9a9850403b7f29bfce380462 /searx/templates/courgette | |
| parent | 01143f48c527ff7bb98b9a9e3d31f087d7d30ca3 (diff) | |
[enh] add image proxy to image results
Diffstat (limited to 'searx/templates/courgette')
| -rw-r--r-- | searx/templates/courgette/result_templates/images.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/courgette/result_templates/images.html b/searx/templates/courgette/result_templates/images.html index 0ff887101..bf2a686ac 100644 --- a/searx/templates/courgette/result_templates/images.html +++ b/searx/templates/courgette/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>
\ No newline at end of file +</div> |