Results 1 to 5 of 5

Thread: Image problems

  1. #1
    Join Date
    Sep 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Image problems

    1) Script Title: Presentational Slideshow Script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ationslide.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...

  2. #2
    Join Date
    Sep 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default new attempts

    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?

  3. #3
    Join Date
    Sep 2009
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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").

  4. #4
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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:

    Code:
    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"
    DD Admin

  5. #5
    Join Date
    Sep 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default More interesting things

    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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •