From 11a1e48e0de0c4ca4647f0ebf83d9fef225f8170 Mon Sep 17 00:00:00 2001 From: Rupus Reinefjord <rupus@kltrst.se> Date: Wed, 28 Mar 2018 11:11:13 +0200 Subject: [PATCH] up the thumbnail res because of object-fit scaling --- templates/photography.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/photography.html b/templates/photography.html index 73dc098..ee99c3f 100644 --- a/templates/photography.html +++ b/templates/photography.html @@ -9,10 +9,10 @@ <div class="photo-grid"> {% for photo in photos %} <a href="{{ url_for('view_photo', photo_id=photo.id) }}"> - <img srcset="{{ photo_resize_url(photo, 200) }}, - {{ photo_resize_url(photo, 300) }} 1.5x, - {{ photo_resize_url(photo, 400) }} 2x" - src="{{ photo_resize_url(photo, 200) }}"> + <img srcset="{{ photo_resize_url(photo, 300) }}, + {{ photo_resize_url(photo, 400) }} 1.5x, + {{ photo_resize_url(photo, 800) }} 2x" + src="{{ photo_resize_url(photo, 300) }}"> </a> {% endfor %} </div>