Skip to content

Commit

Permalink
set thumbnails to 80x80 to fit CSS max size
Browse files Browse the repository at this point in the history
  • Loading branch information
submarcos committed Dec 19, 2024
1 parent 2b72b23 commit f504172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atlas/templates/core/listTaxons.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down

0 comments on commit f504172

Please sign in to comment.