Tuesday, 17 September 2013

Failure of image in middle of sequence to load

Failure of image in middle of sequence to load

I have a list of images in a database. Under user control, they are
selected one at a time. After sizing other elements on the screen
appropriately, the latest user selected image is displayed via a java
script function that resizes the page and loads the image via
document.getElementById("prodSlideShowImage").src =svi;
where prodSlideShowImage is the same div for all images and svi is the
relative location on the disk of the current image. All the data
associated with the image is displayed properly on the page but not the
image. I have been in Firebug and determined that all the data base image
name and ancillary data were appropriately downloaded after the ajax call.
There are ten images in my test data base. They all work except for the
fourth and the ninth. I have checked the directory on the web server to be
sure they are there and are the same size as the ones on my localhost
(XAMPP with Windows7). (This code runs correctly on my local server).
User interface timing does not seem to be a problems. I have tried varying
speeds and always get the same result.
I could really use any suggestions that someone might make.
Thanks in advance for your help.
Ann Maybury ann.maybury@gmail.com

No comments:

Post a Comment