#preload images

3 messages · Page 1 of 1 (latest)

pallid mantle
#

I have a swiper js slider here that briefly shows an empty box each time a new image loads after page load.

https://ramedia.us/about/

Should I preload the images in advance? Or is there something else I should do?

This uses vanilla javascript and it's work fine after all the images have loaded. Any ideas?

snow vergeBOT
#

Hi @pallid mantle. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

I'm an AI assistant focused on Astro, a front-end framework for building high-performance websites. I don't have enough information about your specific issue with the swiper js slider to give you a confident answer. However, you can consider preloading images or using a lazy loading technique to improve the user experience. If you have any questions related to Astro, feel free to ask!

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: