HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 21st, 2000, 04:46 AM
dhanishth dhanishth is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 46 dhanishth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
my main image is heavy, so i would like to load a lighter alternative image till the original one loads and once the original one loads it should replace the lighter alternative image ...
think anyone can help

------------------

Reply With Quote
  #2  
Old October 22nd, 2000, 12:01 AM
Holloway Holloway is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Posts: 5 Holloway User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Wow.. that takes me back.

The IMG attribute you're looking for is LOWSRC="URL".

Zeldman did some fancy effect by having a B&W silheoutte, replaced with a photo.

Just so you know, LOWSRC isn't in the HTML4 spec, it was in 3.2 though. I guess they aim to replace it with resolution independant file formats like JPEG2000.

Reply With Quote
  #3  
Old October 29th, 2000, 06:51 PM
colin_anderson colin_anderson is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 41 colin_anderson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
That sounds all right, however you should be concerned about cross-browser compatibility. I recommend using progressive .jpg's or interlaced .gif's where the same effect is used but it relies soley on the image, which are supported universally, as opposed to an old HTML tag that might not be supported. But if compatibility doesn't concern you, use the lowsrc tag.

-Colin Anderson
HTML etc. http://www.htmletc.net/

Reply With Quote
  #4  
Old October 30th, 2000, 12:23 AM
dhanishth dhanishth is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 46 dhanishth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
that means lowsrc tag will not work in 4+ NN and 5+ IE ?

Further can you elaborate a little on progressive Jpg's and interlaced Gifs if the gif has more than one frame..... if you have only one frame gif then interlacing is possible.

await help
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by colin_anderson:
That sounds all right, however you should be concerned about cross-browser compatibility. I recommend using progressive .jpg's or interlaced .gif's where the same effect is used but it relies soley on the image, which are supported universally, as opposed to an old HTML tag that might not be supported. But if compatibility doesn't concern you, use the lowsrc tag.

-Colin Anderson
HTML etc. http://www.htmletc.net/
[/quote]


Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > alternative image till original loads


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway