Forum Moderators: open

Message Too Old, No Replies

Loading images

How to tell the loading sequence of images

         

cherry

8:44 am on Sep 20, 2002 (gmt 0)

10+ Year Member



Is there any way that you can determine the sequence of what should upload first on your web page when you look at your page on the internet.

Example-
The page I have designed has 2 flash images and the rest of the page is made up of standard gifs.

How do I get the standard gifs to load up on the web before the flash images

Cheers :-)

tedster

9:37 am on Sep 20, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Cherry,

Welcome to WebmasterWorld. You're invited to visit our Welcome Thread [webmasterworld.com] to learn about all the tools available here and all our quirky rules as well. The thread gives a good orientation to WebmasterWorld and will probably help you get more value here.

The image loading question comes up a lot. (I assume that you're talking here about the user's machine loading the images.)

The answer is relatively complicated. First, it depends on your web page layout. If things are laid out in divs or tables, a browser won't - and can't - render images until they can calculate how much space to set aside, and where.

Second, it depends on the browser. Each one handles things differently.

Third, even though a browser may be almost ready to render an image, the web is still part of a global network. Sometimes one packet of data will bounce around the globe, delayed or rerouted by momentary congestion, etc. So, that information may still display later during one session than it does on another.

Finally, you do have "some" control of the order that things happen. In general, the download happens from the top to the bottom of the HTML doc. If you use absolute positioning to place your Flash files on the screen, then you can put their code at the bottom of your HTML document. This gives a good chance that your other page elements will load first.

cherry

9:56 am on Sep 20, 2002 (gmt 0)

10+ Year Member



Thanks Tedster, I'll try moving the code for the flash images to solve my problem.

Thanks for your help :-)