mirror of
https://github.com/Afilmory/afilmory
synced 2026-04-24 23:05:05 +00:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user