• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 211
  • Last Modified:

Load a Image last?! Possible?

One simple question....

Is it possible in anyway to load an image last so the rest of thepage dont just display cuz images from an other server is not that fast?

What I need to do: I have a page with a lot of names listen on a row. And i want to add a'n ICQ Online/offline image after each name.. But as you all know the ICQ server is not that fast sometimes or not working at all..
Can i do something so the names (in small tables) loads before the page tries to contact the ICQ server for images?Take a peek at http://home1.swipnet.se/~w-10357/root/root_people.html .. The ICQ images would be placed to the left of each name!

Please help!.. Thanx!
0
Gizmo
Asked:
Gizmo
1 Solution
 
RoboBobCommented:
If you make sure that every image has HEIGHT= and WIDTH= then the browser can layout the whole page without waiting for the images to load, if you leave out the height and width, then the images have to load before the page can be layed out, other than that there is no easy way to make the images load after the rest of the page (although it is probably possible with some really ugly javascript code...)
0
 
GizmoAuthor Commented:
Aha, that's why it hangs at the picture on that page and not some of the others...

I see.. Guess that I from now on know 1 thing more that I did just a few seconds before... =)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now