On some websites, even small pictures seem to take forever to download.
They’re slowly showing up – I can actually see them being drawn from top to
bottom. Yet on other sites, pictures that look about the same size show up
almost instantly.
Do I have something set wrong? Why so slow?
It’s not your problem. This is actually the result of how the website with
the slow picture is designed.
In a word: poorly.
I’ll explain what’s happening, and I’ll explain what website authors need to
do differently to make your experience as fast as possible.
]]>
<

There is another consideration here. What you say is correct – large pictures take longer to download – but I think you’re assuming all web page content is coming from the same server. Many websites rely on multiple servers (ads almost always come from elsewhere), and it’s quite possible to use an image warehouse – and if that gets overloaded (far from rare with a free service) even small pics can take a relatively long time to download.
Thanks for explaining this. This happens on some websites and not others.
I thought it was my DSL connection or Firefox’s problem.
What about the processing speed of the servers? Some have to be older, slower.
21-Jan-2012
It may also be that the top-to-bottom rendering is due to the jpeg file being a baseline type, vs the progressive type, which renders in layers.
21-Jan-2012
A method I use is to preload the large image, or images, is to load them at the bottom of the home page as 1 pixel x 1 pixel. When done this way the home page will fully load visibly while the status bar may still show the page is loading. This is simply the larger images loading. When the thumbnail that is linked to display the larger photo is clicked the photo is already in the browser cache. The code looks like this: IMG SRC=”images/myimage.jpg” WIDTH=”1″ HEIGHT=”1″ BORDER=”0″. (Add the opening and closing brackets which were eliminated here for display purposes.) At worst this will display as a dot at the bottom of the page.
If you use small display photos on each page it is a good idea to preload them from the home page. That way when the page is clicked the photo will instantly appear. There are numerous JavaScript preload scripts available on the Internet that will preload several images.
21-Jan-2012
Great advice ..thanks
I wonder whether you’ve seen the article about bufferbloat in February CommsACM? I found it interesting, but one can’t do much about it; so sadly it’s not of much practical help.