decreased quality on gallery preview

This commit is contained in:
Parker TenBroeck 2026-01-23 09:46:43 -05:00
parent dd3c0d87d8
commit eaa2b2734a
2 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@
{# {% set image = resize_image(path=src, height=mdata.height, width=mdata.width, format="webp") %} #}
<figure class="{% if class %} {{ class }} {% endif %}">
<img src="{{ src }}" loading="lazy" alt="{{caption | default(value='')}}" decoding="async" class="zoomable">
<img src="{{ src }}" loading="lazy" height="{{mdata.height}}" width="{{mdata.width}}" alt="{{caption | default(value='')}}" decoding="async" class="zoomable">
{% if caption != "" %}
<figcaption>{{ caption | markdown() | safe }}</figcaption>
{% endif %}