I can't see anything in that script that would cancel an image download, but anything is possible.
You don't mention where these images are located - are they on a fast local server, or on a slow remote one? If the latter, then it is possible that it is just because IE is giving up because it thinks things have taken too long. If so, try linking to images on your local machine, just to confirm that they show up okay then.