svimg
svimg copied to clipboard
Svelte image component with image preprocessing and lazy loading
If I'm reading the documentation correctly, it looks like the only way to have an image of multiple widths is to use the defaults of 480, 1024, 1920, and 2560...
It looks like the preprocess edits the `.svelte` files without updating the source map, which will break source maps Look at the example here: https://svelte.dev/docs#compile-time-svelte-preprocess
When an image is loaded, it is normal that a blurring occurs. However, when it's already loaded, it should not be blurred and wait for the `onload` event. Demo: https://www.escaladelaurentides.ca/...


First of all, thank you for creating this amazing library! It is a perfect replacement for `svelte-image` which is unmaintained for a while now unfortunately. Regarding the issue: It's probably...
When using the default settings where lazy loading is enabled, the image does not load at all. Setting the immediate property to true makes the images load.
Hi, I am trying to use the svelte Image component to for a banner logo. The banner has limited height of `9vh` and everytime I attempt to use the component,...