Skip to content

Commit 7f07497

Browse files
committed
fix(photo-item): update image source to use thumbnail URL
- Changed the image source in PhotoItem component from original URL to thumbnail URL for improved loading performance and user experience. Signed-off-by: Innei <tukon479@gmail.com>
1 parent 1cc5c76 commit 7f07497

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/ssr/src/app/(pages)/share/iframe/PhotoItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export function PhotoItem({ photo, className }: PhotoItemProps) {
107107
loading="lazy"
108108
/>
109109
<img
110-
src={photo.originalUrl}
110+
src={photo.thumbnailUrl}
111111
alt={photo.title}
112112
className="absolute inset-0 size-full object-cover object-center"
113113
loading="lazy"

0 commit comments

Comments
 (0)