Thanks for the links but these don't help. I have images on my page that are background images to tables which is why I think this kind of code doesn't work.
What browsers do you need it to work on (and what browsers are you testing this with)?
If you are using Firefox, you may get some value in extensions like LORI (Lifetime Of Request Info) and TamperData. These can help profile how long things are taking to load (and in what order etc)... and maybe identify high latency to stats counters etc.
Provide a cut-down working example of the problem you are experiencing and we can take it from there.
Preloading of images is useful to preload rollover images and to preload images for the 'next' page you're loading.
If the images you're talking about are always displayed on the current page (and espicially if that page is your entry point), there is not really any preloading involved. You may wish to optimize the graphics on the page or reduce the number of images to speed up display.
If the page is an internal page on your site, you can probably use some variation on Jeff's second suggestion.
Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.