Quote:
|
Originally Posted by i_am_cam
Preloading an image in javascript can be useful if you're using one image several times on a page, as if it doesn't load you'd be left with a lot of horrible red-X's (or whatever). Preloading solves this problem by ensuring the image is loaded.
|
Fwiw…
'
Being left with a lot of horrible red Xs' means that the image(s) cannot be found at the src location used in the <img> tag(s) and preloading them won't fix that.