summaryrefslogtreecommitdiff
path: root/searx/templates/default/result_templates/images.html
diff options
context:
space:
mode:
authorPydo <pydo@tutanota.com>2016-09-05 14:56:53 -0400
committerPydo <pydo@tutanota.com>2016-09-05 14:56:53 -0400
commit41ce76e9c90258d97566c1f2bcf7902449c0fff0 (patch)
tree3f60941d3aa1dd4c9c1c598a80472c6c07b1b08e /searx/templates/default/result_templates/images.html
parent2c2123b2e8f87178dadbf82b2cefbcef483c41a7 (diff)
parent465d47283fa934eb08efab897cb9fcdcf29b21c5 (diff)
Merge branch 'master' of https://github.com/asciimoo/searx into feature/seedpeer-engine-integration
Diffstat (limited to 'searx/templates/default/result_templates/images.html')
-rw-r--r--searx/templates/default/result_templates/images.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/default/result_templates/images.html b/searx/templates/default/result_templates/images.html
index d85f841ae..00f62abcc 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 }}" rel="noreferrer"><img src="{% if result.thumbnail_src %}{{ image_proxify(result.thumbnail_src) }}{% else %}{{ image_proxify(result.img_src) }}{% endif %}" title="{{ result.title|striptags }}" alt="{{ result.title|striptags }}" /></a>
- <span class="url"><a href="{{ result.url }}" rel="noreferrer" class="small_font">{{ _('original context') }}</a></span>
+ <a href="{{ result.img_src }}" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %}><img src="{% if result.thumbnail_src %}{{ image_proxify(result.thumbnail_src) }}{% else %}{{ image_proxify(result.img_src) }}{% endif %}" title="{{ result.title|striptags }}" alt="{{ result.title|striptags }}" /></a>
+ <span class="url"><a href="{{ result.url }}" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %} class="small_font">{{ _('original context') }}</a></span>
</p>
</div>