From c009c01a3f54e61a681f86decad462cf24a32592 Mon Sep 17 00:00:00 2001 From: Balakrishnan Balasubramanian Date: Fri, 9 Aug 2024 00:12:31 -0400 Subject: [PATCH] Add link to Select images and skip basename in urls --- web/choose.js | 2 +- web/index.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/web/choose.js b/web/choose.js index eaa23fb..245dcf8 100644 --- a/web/choose.js +++ b/web/choose.js @@ -142,7 +142,7 @@ function gotoCollage() { for (const img of selectedPhotos) { if (!img.src.endsWith("stock.svg")) { - photoUrls.push(img.src) + photoUrls.push((new URL(img.src)).pathname) } } const encodedURLS = encodeURIComponent(JSON.stringify(photoUrls)) diff --git a/web/index.html b/web/index.html index 8a17185..f3709fa 100644 --- a/web/index.html +++ b/web/index.html @@ -12,6 +12,7 @@
+

Select Images