From 9bfe43aa600ee5146a75742f28038bfc30491dba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20Kol=C3=A1=C5=99?= Date: Mon, 22 Jan 2024 12:54:38 +0100 Subject: [PATCH] fix(img): lazy load for all matching images --- .../templates/fiestarequests/matching_requests.html | 3 ++- .../templates/fiestarequests/request_match_card.html | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/fiesta/apps/fiestarequests/templates/fiestarequests/matching_requests.html b/fiesta/apps/fiestarequests/templates/fiestarequests/matching_requests.html index fa65a69a..d0a60c02 100644 --- a/fiesta/apps/fiestarequests/templates/fiestarequests/matching_requests.html +++ b/fiesta/apps/fiestarequests/templates/fiestarequests/matching_requests.html @@ -14,7 +14,8 @@ {% trans + height="{{ fr.issuer.profile.picture.height }}" + loading="lazy"> {% else %} Issuer picture + alt="Issuer picture" + loading="lazy" /> {% else %} {{ br.issuer.first_name|first }}{{ br.issuer.last_name|first }} @@ -61,7 +62,8 @@

Matcher picture + alt="Matcher picture" + loading="lazy" /> {% else %} {{ br.match.matcher.first_name|first }}{{ br.match.matcher.last_name|first }}