How to upload images after loading windows?

There are many large images on my website that slow down the speed of my website. I want to download all the images of my website after downloading the site without them.

What is the best solution for this? I want this in jQuery. Any suggestion of NICE JQUERY PLUGIN is appreciated.

Thanks in advance.

+3
source share
2 answers

I used this on my ASP pages.

Just create all your image tags like this

<img ID="img_1"/>

Once this is done using jQuery:

$(document).ready(function(){
        document.img_1.src="YourImageUrl";
});

There you, as soon as your page is loaded, will display all your images.

0
source

All Articles