Update image rendering to preserve aspect ratio by removing height attribute
All checks were successful
Deploy to Server / deploy (push) Successful in 10s

This commit is contained in:
Joakim Hellsén 2026-03-09 20:07:30 +01:00
commit bbdcc80334
Signed by: Joakim Hellsén
SSH key fingerprint: SHA256:/9h/CsExpFp+PRhsfA0xznFx2CGfTT5R/kpuFfUgEQk
4 changed files with 28 additions and 3 deletions

View file

@ -21,7 +21,7 @@
{% endfor %}
<!-- Campaign image -->
{% if campaign.image_best_url %}
{% picture campaign.image_best_url alt=campaign.name width=160 height=160 %}
{% picture campaign.image_best_url alt=campaign.name width=160 %}
{% endif %}
<!-- Campaign description -->
<p>{{ campaign.description|linebreaksbr }}</p>