DEV Community

loading...

Discussion on: Lazy Loading Images in Svelte

Collapse
adrienwelter profile image
adrienwelter

Hello
Thanks for you code. However I have a question. Could you show me the code in order to access the images on my local server:
const prefix = "XXXXXX?image=";
Should I put the image folder in "/public" and must the folder structure be the same as in: "place kitten.com" ?
Thanks
Adrien