added bmp to imageViewer
authorPhiTux <redacted>
Thu, 9 Oct 2025 16:46:32 +0000 (18:46 +0200)
committerPhiTux <redacted>
Thu, 9 Oct 2025 16:46:32 +0000 (18:46 +0200)
frontend/src/routes/(authed)/read/+page.svelte
frontend/src/routes/(authed)/write/+page.svelte

index eb03159f23c4d12c0e12c634963db9d1f048ede8..fbe8045ad241fc3697626c78aa4d15c96ace80a6 100644 (file)
                }
        });
 
-       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(() => {
index d2257a7e578ab86992d120669c6500b66669bfe1..bab2d60cd881c26b4388080967c8c0b6c1889149 100644 (file)
                }
        });
 
-       const imageExtensions = ['jpeg', 'jpg', 'gif', 'png', 'webp'];
-       //TODO: support svg? -> minsize is necessary...
+       const imageExtensions = ['jpeg', 'jpg', 'gif', 'png', 'webp', 'bmp'];
 
        $effect(() => {
                if (filesOfDay) {
git clone https://git.99rst.org/PROJECT