Add support for modern image formats (WebP and AVIF) and implement image conversion commands

This commit is contained in:
Joakim Hellsén 2026-02-12 21:29:17 +01:00
commit 477bb753ae
Signed by: Joakim Hellsén
SSH key fingerprint: SHA256:/9h/CsExpFp+PRhsfA0xznFx2CGfTT5R/kpuFfUgEQk
15 changed files with 629 additions and 93 deletions

View file

@ -1,5 +1,6 @@
{% extends "base.html" %}
{% load static %}
{% load image_tags %}
{% block title %}
{{ reward_campaign.name }}
{% endblock title %}
@ -16,10 +17,7 @@
</p>
<!-- Campaign image -->
{% if reward_campaign.image_best_url %}
<img height="160"
width="160"
src="{{ reward_campaign.image_best_url }}"
alt="{{ reward_campaign.name }}" />
{% picture reward_campaign.image_best_url alt=reward_campaign.name width=160 height=160 %}
{% endif %}
<!-- RSS Feeds -->
<div style="margin-bottom: 1rem;">