PDA

View Full Version : Image problems



skiing
09-09-2009, 10:07 PM
1) Script Title: Presentational Slideshow Script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/presentationslide.htm

3) Describe problem: I am a newbie and just learning about web page design. I'm trying to use the Presentational Slideshow Script and am having problems with my images. The page opens up and there are no pictures. I set the images to image1.jpg, image2.jpg. All files regarding this page files are on my C:/ drive in a folder named test. When I load the page up, I get an empty slideshow. Sometimes when I click on a new tab the images appear in the other tab slideshow but then disappear. Any suggestions? This is all done on a windows base computer via IE8.

Thank you...

skiing
09-10-2009, 02:24 AM
Ok, some more info for you!! I copied your .gif images (image 1-3) to my test directory. I reset the image size in the script to 95px * 95px. Loaded the page and just the image icon rotating through. I then hit the tab button and loaded a new web page. Then went back to the test web page and it started working. I then added my own .jpg file and nothing. Hit the tab button and added a new web page and then went back to the test web page. It worked once and that was it. According to the script, if I change the width px and length px to the largest image I have it should compensate for each image right?

Johnathan
09-14-2009, 02:18 PM
Try refreshing your browser after editing or uploading new information to the page / server. Also, make sure that the path to your image files is correct (and the extensions - the example uses ".gif", whereas your files are ".jpg").

ddadmin
09-14-2009, 07:38 PM
Most likely your image paths are incorrect, especially if you're specifying local paths (ie: c:/), which will fail when you view the slideshow online. Inside the script, try changing the paths to the images so they are absolute URLs, ie:


var dropimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
dropimages[0]="http://www.mysite.com/images/image1.gif"
dropimages[1]="http://www.mysite.com/images/image2.gif"
dropimages[2]="http://www.mysite.com/images/image3.gif"

skiing
09-18-2009, 02:47 AM
I played around with the slide show and kind of have it working. The only thing now is when I open the web page it is still blank with no images. Then when I click on google adjust toolbar options and hit default and then save the images start and it works fine. Is that weird?

Skiing