svimg icon indicating copy to clipboard operation
svimg copied to clipboard

Svelte image component with image preprocessing and lazy loading

Results 18 svimg issues
Sort by recently updated
recently updated
newest added

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.0 to 5.0.12. Release notes Sourced from vite's releases. [email protected] Please refer to CHANGELOG.md for details. [email protected] Please refer to CHANGELOG.md for details. [email protected] Please refer to...

dependencies

For images imported using Vite, SvelteKit serves them with the same far future cache header that it uses for JS and CSS assets, allowing the image to be cached by...

I am using pre-render true and the svelte static adapter. Unfortunately, I have my project setup to use markdown as per this example https://github.com/mvasigh/sveltekit-mdsvex-blog/ , path to images are in...

Set weight and height attributes for `img` tag if they aren’t set so there’s no UI shift due to unknown image size

I experience a breaking bug with `svimg` v3.2.0. I have tested with both vitePreprocess (SvelteKit's default) and `svelte-preprocess` and received identical behavior. ## To Reproduce - Set up `svelte.config.js` as...

I love this Repo, it makes using images so much better. Now I do have a problem though... it seems lighthouse does not detect alt tags on the component. Any...

i have a sveltekit app with my images in `static/images/`, and would like to organize them in in sub directories. However when I move files into directories I'm met with...

Receiving an error on build even after providing the rollup.config.js setup. Using "@sveltejs/adapter-static": "^2.0.1" ``` > Using @sveltejs/adapter-static error during build: TypeError: Cannot read properties of undefined (reading 'some') at...

Vite is now the recommended way to build Svelte projects whether you're building a vanilla Svelte project or a SvelteKit project. The `inputDir` options duplicates Vite's `publicDir` option and the...

```svelte import Image from 'svimg'; const src = 'images/birds/orange-bird.jpg'; ``` Like above example, when `src` is a variable the `Input file is missing` error is returned. It also doesn't work...