fix: optimize thumbnail image urls

This commit is contained in:
Xylight committed 2024-02-24 10:00:44 -08:00
1 parent 62044ce3b7
commit 8b82a782f5
4 files changed
+21 -9

No files matched your search

@@ -11,17 +11,13 @@
showImage,
} from '$lib/components/ui/ExpandableImage.svelte'
import { userSettings } from '$lib/settings.js'
import { isImage, isVideo } from '$lib/ui/image'
import type { Post } from 'lemmy-js-client'
import { Icon, VideoCamera } from 'svelte-hero-icons'
import PostIframe from './PostIframe.svelte'
export let view: 'card' | 'cozy' | 'list' | 'compact' = 'cozy'
export let post: Post
export let type: MediaType = 'none'
export let opened: boolean | undefined = undefined
console.log
</script>
{#if type == 'image'}