Add blurhash support

This commit is contained in:
FloatingGhost 2022-12-30 04:57:23 +00:00
parent 236b19e854
commit 313ddcebcb
10 changed files with 100 additions and 3 deletions

View file

@ -64,7 +64,15 @@
:title="attachment.description"
@click.prevent.stop="toggleHidden"
>
<Blurhash
v-if="useBlurhash"
:height="512"
:width="1024"
:hash="attachment.blurhash"
:punch="1"
/>
<img
v-else
:key="nsfwImage"
class="nsfw"
:src="nsfwImage"