From f504172a747ed2718b463d809bab9e6b7175c2ea Mon Sep 17 00:00:00 2001 From: J-E Castagnede Date: Thu, 19 Dec 2024 09:27:26 +0100 Subject: [PATCH] set thumbnails to 80x80 to fit CSS max size --- atlas/templates/core/listTaxons.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atlas/templates/core/listTaxons.html b/atlas/templates/core/listTaxons.html index 67eae76f..bb4a2487 100644 --- a/atlas/templates/core/listTaxons.html +++ b/atlas/templates/core/listTaxons.html @@ -29,7 +29,7 @@ src="{{ url_for('static', filename='images/picto_'+ taxon.group2_inpn| replace(" ", "_") |urlencode+'.png') }}" alt=" " /> {% else %} {% if configuration.REDIMENSIONNEMENT_IMAGE %} - {% set img_path = configuration.TAXHUB_URL+'/api/tmedias/thumbnail/'+taxon.id_media|string+'?h=500&w=500' %} + {% set img_path = configuration.TAXHUB_URL+'/api/tmedias/thumbnail/'+taxon.id_media|string+'?h=80&w=80' %} {% else %} {% set img_path = taxon.path %} {% endif %}