Skip to content

Commit 74be1cf

Browse files
committed
use webp image for memory lane
1 parent f3a1fa4 commit 74be1cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/lib/components/photos-page/memory-lane.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@
7373
>
7474
<img
7575
class="h-full w-full rounded-xl object-cover"
76-
src={getAssetThumbnailUrl(memory.assets[0].id, ThumbnailFormat.Jpeg)}
77-
alt={memory.title}
76+
src={getAssetThumbnailUrl(memory.assets[0].id, ThumbnailFormat.Webp)}
77+
alt="Memory Lane"
7878
draggable="false"
7979
/>
8080
<p class="absolute bottom-2 left-4 z-10 text-lg text-white">{memory.title}</p>

0 commit comments

Comments
 (0)