473,385 Members | 1,888 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,385 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 1484
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.