Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

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 20th, 2003, 12:37 PM
funkyville funkyville is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 1 funkyville User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Why won't an image load multiple times on same page?

I have an image that is meant to load many times (10) on a page (just like the little envelopes on the left-hand side of the preceding page of this site) but at seemingly random times the image refuses to load. I get 10 little empty X boxes instead. What gives?

On the server side: it's just a small GIF in a normal html file. Server is Win 2000, IIS 5.0.

Client is Win XP with latest Explorer.

It doesn’t matter if the page is made dynamically or is static, https or http, I get the same problem on all pages at different times. Sometimes everything loads just fine, sometimes it doesn’t. The links are all relative, not absolute. They need to be because sometimes the pages are secure and sometimes not, and I don’t want the “loading secure and non-secure items” warning message that would accompany the absolute http links on a secure page.

When I refresh though, the image loads just fine. (cache issue?)

On the server side I’ve tested the image in different directories and tried other substitute images, all with the same result. The only way I’ve fixed it is to make 10 copies of the image with different names and load them each – not very efficient.

If I’m having this problem viewing my website then so are other people. Actually I had this problem when viewing this site’s preceding page. All the little envelope images on the left side didn’t load, until I refreshed.

Is it just me? Does Explorer have issues when loading many occurrences of the same image. Has anyone else experienced this.

Thanks.

Reply With Quote
  #2  
Old October 21st, 2003, 09:29 AM
ClayDowling ClayDowling is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Flint, MI
Posts: 328 ClayDowling User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 19 m 25 sec
Reputation Power: 6
funkyville,

I've seen this behavior too. I'm not certain, but it seems to be happening when the web server isn't serving up the images as fast as the browser would like.

You could try theory out by serving the pages and images off of an Apache server and seeing if you have the same results. Apache has a very nice Windows version that should make testing easy, so this won't take a huge effort. Just give it the same document root as you gave IIS and you're golden.
__________________
Clay Dowling
Lazarus Notes
Articles and commentary on web development
http://www.lazarusid.com/notes/

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > Why won't an image load multiple times on same page?


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 4 hosted by Hostway