473,396 Members | 2,081 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Loading Images + ASP.NET

Hi,

I have a really wired behavior in my asp.net application.

Little background,

I have a base pages which contains about 17 images lying around (create
a circle) and this page contains a control where I'm presenting my
pages content.

Here is the problem:

In most cases, when the pages are loaded at least one images is missing
(you see the "X" images) even though the images exist and the path
is correct. I need to refresh that page several times until the image
will appear, but in most cases, some other images (among the other 16)
behave the same (start disappear). In some case I see it, and in other
cases don't.

The biggest problem is that it's not persistent. In one time the
images can appear, and two other times it doesn't.

I know its sounds like a general problem, but maybe anyone has any
Idea what to do in order to solve this problem for once an for all
(caching or something, I really have no idea).
I'm using Microsoft IIS 5.1

Thanks,

Ori.

Nov 22 '05 #1
4 1485
If you have lots of images and content (in other words the page takes along
time to load), the brower can timeout before it attempts to access some of
the images. Now, usually the timeout takes several minutes. Like if you
are on a dialup connection and you try to view a page with many large
graphics and a lot of content. I don't know if this helps.
"Anavim" <or*******@hotmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Hi,

I have a really wired behavior in my asp.net application.

Little background,

I have a base pages which contains about 17 images lying around (create
a circle) and this page contains a control where I'm presenting my
pages content.

Here is the problem:

In most cases, when the pages are loaded at least one images is missing
(you see the "X" images) even though the images exist and the path
is correct. I need to refresh that page several times until the image
will appear, but in most cases, some other images (among the other 16)
behave the same (start disappear). In some case I see it, and in other
cases don't.

The biggest problem is that it's not persistent. In one time the
images can appear, and two other times it doesn't.

I know its sounds like a general problem, but maybe anyone has any
Idea what to do in order to solve this problem for once an for all
(caching or something, I really have no idea).
I'm using Microsoft IIS 5.1

Thanks,

Ori.

Nov 22 '05 #2
Try the Repeater server control.

chanmm

"Anavim" <or*******@hotmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Hi,

I have a really wired behavior in my asp.net application.

Little background,

I have a base pages which contains about 17 images lying around (create
a circle) and this page contains a control where I'm presenting my
pages content.

Here is the problem:

In most cases, when the pages are loaded at least one images is missing
(you see the "X" images) even though the images exist and the path
is correct. I need to refresh that page several times until the image
will appear, but in most cases, some other images (among the other 16)
behave the same (start disappear). In some case I see it, and in other
cases don't.

The biggest problem is that it's not persistent. In one time the
images can appear, and two other times it doesn't.

I know its sounds like a general problem, but maybe anyone has any
Idea what to do in order to solve this problem for once an for all
(caching or something, I really have no idea).
I'm using Microsoft IIS 5.1

Thanks,

Ori.

Nov 22 '05 #3


how the repeater control can help me in this case? in every page i'm
loading the same images (and it's doesn't take to much time, the page is
loaded pretty fast i must say).

Please help.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 22 '05 #4


how the repeater control can help me in this case? in every page i'm
loading the same images (and it's doesn't take to much time, the page is
loaded pretty fast i must say).

Please help.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 22 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Stacey | last post by:
Hi, I'm hoping for a bit of advise-- I have a (relatively, from the point-of-view of this dilettante) complex script that attempts to preload certain images in order to trigger one of a series of...
4
by: Adrian MacNair | last post by:
Hi, I created an image gallery which displays 63 images in a slideshow. The problem is that the show was slow because each image loaded one at a time during the show. No problem right? I just...
15
by: Geoff Cox | last post by:
Hello I have following type of code in the header function pre_load_pics() { if (document.images) { var image1 = new Image(400,265); image1.scr = "pic1.jpg";
4
by: VR | last post by:
Hi, I am trying to have a menu item (which is an HTML img) to change as a mouse moves over it. So, my code looks something like this: <a onmouseover="ActivateImage('MyImage');"...
2
by: Jean Pierre Daviau | last post by:
When I have something like this in a js file. listeImg = new Array(); listeImg = new Image(w,h); listeImg.src = "centre1.jpg"; etc Are the images loaded after the page is loaded? In the same...
6
by: Ivan Bútora | last post by:
I have recently looked at http://alistapart.com/articles/imagegallery to implement a simple picture gallery on a webpage that I'm working on. Everything works fine; however, I have one question....
0
by: speedcoder | last post by:
hi all, i'm stumped. my applet used to load images over the network. (it was actually designed by someone else.) yes, the applet used to load each image file independently over the network and...
1
by: agatha.life | last post by:
I did a javascript for the loading of images (I didn't want to have the images loaded in "on loading" because they are too many). The website is for a model and if you look at the codeof pages (...
3
jeremydowe
by: jeremydowe | last post by:
Hi, I have noticed that quite a few websites use a preloading graphic (i.e spining circle) to show the that the site is loading images while the user waits. How can I add this to my website? ...
1
by: mlikesit | last post by:
I am trying to get the following code to pre-load some images before re-dirrecting the user. The problem is that the onError event gets called for all of the images immediately. I've tripple...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.