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>
This commit is contained in:
Innei
2025-09-01 00:12:01 +08:00
parent 1cc5c76ee7
commit 7f07497553

View File

@@ -107,7 +107,7 @@ export function PhotoItem({ photo, className }: PhotoItemProps) {
loading="lazy"
/>
<img
src={photo.originalUrl}
src={photo.thumbnailUrl}
alt={photo.title}
className="absolute inset-0 size-full object-cover object-center"
loading="lazy"