Skip to content

Commit 723ce24

Browse files
Feed URLs Updated for Images
1 parent d776db5 commit 723ce24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: frontend/src/Components/Feed.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function Feed() {
9393
<Card.Img style={{ borderRadius: "25px", width: "100%", height: "100%" }}
9494
variant="top"
9595
// src={`${S3_BUCKET_URL}/${item.itemPictures[0].img}`}
96-
src={`https://lh3.google.com/u/0/d/${item.itemPictures[0].id}`}
96+
src={`https://drive.google.com/thumbnail?id=${item.itemPictures[0].id}`}
9797
/>
9898
<Card.Body bsPrefix="card-body" style={{ alignItems: "center" }}>
9999
<Card.Title
@@ -141,7 +141,7 @@ function Feed() {
141141
<Card.Img style={{ borderRadius: "25px", width: "100%", height: "100%" }}
142142
variant="top"
143143
// src={`${S3_BUCKET_URL}/${item.itemPictures[0].img}`}
144-
src={`https://drive.google.com/uc?export=view&id=${item.itemPictures[0].id}`}
144+
src={`https://drive.google.com/thumbnail?id=${item.itemPictures[0].id}`}
145145
/>
146146
<Card.Body bsPrefix="card-body" style={{ alignItems: "center" }}>
147147
<Card.Title

0 commit comments

Comments
 (0)