From 87fb971a71ac5ed2acb1b1fc9a237199fca0c78c Mon Sep 17 00:00:00 2001 From: sam40305 Date: Tue, 17 Sep 2024 15:17:22 +0800 Subject: [PATCH 1/2] Update image URLs in photos.js --- pages/photos.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/photos.js b/pages/photos.js index 9138b90..9e9b0c5 100644 --- a/pages/photos.js +++ b/pages/photos.js @@ -17,10 +17,10 @@ export function page (app) { var html_data=""; data.forEach((value)=>{ var image_ID=value[1].split('/')[5]; - var image_URL=`https://drive.google.com/uc?export=view&id=${image_ID}`; + var image_URL=`https://drive.google.com/thumbnail?export=view&id=${image_ID}&sz=w1400-h1400`; html_data+= ` - + ` }) From 39b26dd304e4c54e9968fe972df5219c7d5d885e Mon Sep 17 00:00:00 2001 From: sam40305 Date: Tue, 17 Sep 2024 15:33:52 +0800 Subject: [PATCH 2/2] Update script URLs in index.html --- index.html | 12 ++++++------ pages/photos.js | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 3fa1413..903d21f 100644 --- a/index.html +++ b/index.html @@ -15,7 +15,7 @@ - + @@ -36,12 +36,12 @@ - + - - - - + + + + diff --git a/pages/photos.js b/pages/photos.js index 9e9b0c5..1abe937 100644 --- a/pages/photos.js +++ b/pages/photos.js @@ -29,6 +29,7 @@ export function page (app) { plugins: [lgThumbnail,lgZoom,lgHash], allowMediaOverlap: true, toggleThumb: true, + download: false, }); jQuery(document).ready(function() {