diff --git a/src/lib/components/lemmy/post/Post.svelte b/src/lib/components/lemmy/post/Post.svelte index 5c044f02..46631f1a 100644 --- a/src/lib/components/lemmy/post/Post.svelte +++ b/src/lib/components/lemmy/post/Post.svelte @@ -141,7 +141,6 @@ {#if view == 'list' || view == 'compact'} - {#if post.thumbnail_url || isImage(post.url)} - {post.name} - {#if type != 'image'} -
- -
- {/if} - {:else} + + ALT + +
+ {post.alt_text} +
+ + {/if} + { + if (type == 'image') { + showImage(bestImageURL(post, false, 2048)) + } + }} + role="button" + tabindex="0" + > + {#if post.thumbnail_url || isImage(post.url)} + {post.name} + {#if type != 'image'}
- +
{/if} -
- -{/if} + {:else} +
+ +
+ {/if} + +