From f01dd63077b5c6952e30b2187d946ad15234fa74 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Fri, 14 Nov 2025 17:49:31 -0800 Subject: [PATCH] Use /photo/id/thumbnail instead of /thumbnail/id. --- frontends/etiquette_flask/templates/swipe.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontends/etiquette_flask/templates/swipe.html b/frontends/etiquette_flask/templates/swipe.html index 2777d53..5992aad 100644 --- a/frontends/etiquette_flask/templates/swipe.html +++ b/frontends/etiquette_flask/templates/swipe.html @@ -446,7 +446,7 @@ function show_current_photo() name_tag.href = "/photo/" + current_photo.id; if (current_photo.has_thumbnail) { - photo_viewer_img.src = "/thumbnail/" + current_photo.id + ".jpg"; + photo_viewer_img.src = "/photo/" + current_photo.id + "/thumbnail"; waiting_for_img = true; } else @@ -459,7 +459,7 @@ function show_current_photo() upcoming_photo = photo_queue[index]; if (upcoming_photo !== undefined && upcoming_photo.has_thumbnail) { - upcoming_imgs[index].src = "/thumbnail/" + upcoming_photo.id + ".jpg"; + upcoming_imgs[index].src = "/photo/" + upcoming_photo.id + "/thumbnail"; } else {