diff --git a/src/components/EmbedMedia.svelte b/src/components/EmbedMedia.svelte index 56b68aa..e404054 100644 --- a/src/components/EmbedMedia.svelte +++ b/src/components/EmbedMedia.svelte @@ -29,7 +29,8 @@ thumbnail: { src: img('feed_thumbnail', did, cid), ...size - } + }, + alt: i.alt }; })} {#if images.length > 0} diff --git a/src/components/PhotoSwipeGallery.svelte b/src/components/PhotoSwipeGallery.svelte index bdcc107..22d2283 100644 --- a/src/components/PhotoSwipeGallery.svelte +++ b/src/components/PhotoSwipeGallery.svelte @@ -76,7 +76,13 @@ class:hidden-in-grid={isHidden} class:overlay-container={isOverlay} > - {img.alt + {img.alt {#if isOverlay}