Skip to content

Commit

Permalink
Update image URLs in photos.js
Browse files Browse the repository at this point in the history
  • Loading branch information
cjs835 committed Sep 17, 2024
1 parent 9b8632a commit 87fb971
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/photos.js
Original file line number Diff line number Diff line change
Expand Up @@ -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+= `
<a href="${image_URL}">
<img src="${image_URL}" />
<img src="${image_URL}"/>
</a>
`
})
Expand Down

0 comments on commit 87fb971

Please sign in to comment.