From: PhiTux Date: Thu, 9 Oct 2025 16:46:32 +0000 (+0200) Subject: added bmp to imageViewer X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=d95ed387b17233de2af20c032628f44c2e2aff43;p=DailyTxT.git added bmp to imageViewer --- diff --git a/frontend/src/routes/(authed)/read/+page.svelte b/frontend/src/routes/(authed)/read/+page.svelte index eb03159..fbe8045 100644 --- a/frontend/src/routes/(authed)/read/+page.svelte +++ b/frontend/src/routes/(authed)/read/+page.svelte @@ -105,8 +105,7 @@ } }); - const imageExtensions = ['jpeg', 'jpg', 'gif', 'png', 'webp']; - //TODO: support svg? -> minsize is necessary... + const imageExtensions = ['jpeg', 'jpg', 'gif', 'png', 'webp', 'bmp']; // copy of files, which are images $effect(() => { diff --git a/frontend/src/routes/(authed)/write/+page.svelte b/frontend/src/routes/(authed)/write/+page.svelte index d2257a7..bab2d60 100644 --- a/frontend/src/routes/(authed)/write/+page.svelte +++ b/frontend/src/routes/(authed)/write/+page.svelte @@ -346,8 +346,7 @@ } }); - const imageExtensions = ['jpeg', 'jpg', 'gif', 'png', 'webp']; - //TODO: support svg? -> minsize is necessary... + const imageExtensions = ['jpeg', 'jpg', 'gif', 'png', 'webp', 'bmp']; $effect(() => { if (filesOfDay) {