Closed Thread Icon

Preserved Topic: Weight="200" height="152"> (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=17915" title="Pages that link to Preserved Topic: Weight=&amp;quot;200&amp;quot; height=&amp;quot;152&amp;quot;&amp;gt; (Page 1 of 1)" rel="nofollow" >Preserved Topic: Weight=&quot;200&quot; height=&quot;152&quot;&gt; <span class="small">(Page 1 of 1)</span>\

 
Wakkos
Maniac (V) Mad Scientist

From: Azylum's Secret Lab
Insane since: Oct 2000

posted posted 01-12-2001 00:49

What´s the difference between writting the size of a image and not to do it? i mean in HTML...

I´ve heard that it specify the size of the image to load it, but makes no sense for me, if an image is 7 K, it will take the same time loading, 7K are 7K, but i´m just wandering....



Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 01-12-2001 02:47

It helps with page rendering. It provides the info to the browser, which uses it to create the page you see. If you don't specify that, the browser has to wait till it grabs the file, then figure out the dimensions of the image, before it can continue rendering the page.

I'm pretty sure it's a HTML 4.0 requirement. Most code validators will flag that as well.

Pat Richard
Web weenie
http://www.gurusnetwork.com
ICQ 23113317

Wes
Paranoid (IV) Mad Scientist

From: Inside THE BOX
Insane since: May 2000

posted posted 01-13-2001 04:08

That's exactly right (and one of the very first things Doc ever taught me). If you don't specify the size of the image, then the browser can't make room for it on the page until it loads the image. In NN, this results in a wait time before the page displays. In IE, it causes the rest of the page content to shift around once the image begins to load. (And if you've already started reading, that's extremely annoying.)


« BackwardsOnwards »

Show Forum Drop Down Menu