To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.publishOpen lugnet.publish in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Publishing / 1816
1815  |  1817
Subject: 
Re: Haylp! Why does NN take ages to load these tables?
Newsgroups: 
lugnet.publish
Date: 
Wed, 22 Mar 2000 00:09:03 GMT
Viewed: 
963 times
  
In lugnet.publish, Bram Lambrecht writes:
"David Eaton" <deaton@intdata.com> writes:
2nd, don't specify the sizes of your images in <IMG> tags-- do this in
your tables, or not at all!... When you specify the size of an image in
the IMG tag, NN (and I think MSIE too) automatically resizes the image
to your specifications, and hence has to go through a resizing
routine...and that adds time...

I'll have to disagree here.  Please, always specify the dimensions of the
images in the <IMG> tag.  That way, the browser knows how much space to
set aside for the image before the image is entirely loaded.  Otherwise,
nothing will show up until all the images have loaded, or the browser has
to readjust the positioning of everything else after the image loads.

I dunno about jpg, but iff and gif store the dimensions and colour-depth
(roughly what size buffer to allocate) in the first few bytes of the image -
I'd have guessed that most other formats were the same.

Richard



Message has 1 Reply:
  Re: Haylp! Why does NN take ages to load these tables?
 
(...) But what if the html is completely loaded before the image even begins loading? Or what if you're browsing without images on (not that many people do that anymore...)? --Bram (25 years ago, 22-Mar-00, to lugnet.publish)

Message is in Reply To:
  Re: Haylp! Why does NN take ages to load these tables?
 
(...) the (...) routine... (...) I'll have to disagree here. Please, always specify the dimensions of the images in the <IMG> tag. That way, the browser knows how much space to set aside for the image before the image is entirely loaded. Otherwise, (...) (25 years ago, 21-Mar-00, to lugnet.publish)

15 Messages in This Thread:







Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR