From 0063427309b6fc0b202d7b63a01e8930bf5aab44 Mon Sep 17 00:00:00 2001 From: Alexandre FLAMENT Date: Wed, 18 May 2022 07:27:42 +0000 Subject: [PATCH] Template images.html: lazy by JS the full size image Remove lazy loading by browser / width / height: JS is required to display this HTML fragment anyway. Simplify the HTML template. --- searx/templates/simple/result_templates/images.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/searx/templates/simple/result_templates/images.html b/searx/templates/simple/result_templates/images.html index 902fd8b24..8aadbd204 100644 --- a/searx/templates/simple/result_templates/images.html +++ b/searx/templates/simple/result_templates/images.html @@ -9,11 +9,7 @@ {{ icon('chevron-left') }}{{- "" -}} {{ icon('chevron-right') }}{{- "" -}} - {%- if result.thumbnail_src -%} - {{ result.title|striptags }} - {%- else -%} - {{ result.title|striptags }} - {%- endif -%} + {{ result.title|striptags }}{{- "" -}} {{- "" -}}
{{- "" -}}

{{ result.title|striptags }}

{{- "" -}}