Results 1 to 9 of 9

Thread: Can't Get images to load. DHTML slide show (manual)

  1. #1
    Join Date
    Apr 2012
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Can't Get images to load. DHTML slide show (manual)

    DHTML slide show (manual)

    http://www.dynamicdrive.com/dynamici...dhtmlslide.htm

    I am using BT community web kit to design a website for my local pre-school, i want to post a image slide show on the website, however any attempts I have at trying to path the images just seems to fail.

    This the website : http://wemburypreschool.btck.co.uk/

    and the slide show is on albums.

    Thanks alot

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

    Default

    The image paths you're using currently are invalid:

    Code:
    photos[0]="site7295/Album%20children/13.JPG"
    photos[1]="site7295/Album%20children/11.JPG"
    photos[2]="site7295/Album%20children/1.JPG"
    The first path for example tells the script to look up the image at http://wemburypreschool.btck.co.uk/A...hildren/13.JPG , which obviously doesn't exist (it's relative to the directory the page showing the slideshow is in).

    When in doubt about the correct image path, just use an absolute URL to it, for example:

    Code:
    photos[0]="http://www.mysite.com/site7295/Album%20children/13.JPG"
    verifying that the absolute URL works first of course.
    DD Admin

  3. #3
    Join Date
    Apr 2012
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    First off thanks for your quick reply,

    I am a bit of beginner at the moment towards websites and coding. (hoping to learn fast).

    I don't know how to verify an absolute URL, if you could show me how I would be much appreciated, or even how to create an absolute URL.

    Thanks!

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

    Default

    Quote Originally Posted by da1993r View Post
    First off thanks for your quick reply,

    I am a bit of beginner at the moment towards websites and coding. (hoping to learn fast).

    I don't know how to verify an absolute URL, if you could show me how I would be much appreciated, or even how to create an absolute URL.

    Thanks!
    An absolute URL is just one that includes the entire domain and sub directories involved to reach the image in question. You don't need to "create" it, just upload your image to your server, and then find out where it's located on that server to construct the URL to it. So say your site's root domain is www.mysite.com and you've uploaded your images to the "pics" sub directory directly under the root domain, the URL to your images would be:

    Code:
    http://www.mysite.com/pics/whatever.gif
    http://www.mysite.com/pics/whatever2.gif
    etc
    DD Admin

  5. #5
    Join Date
    Apr 2012
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I think i managed to find the abuslute URL we are looking for. I input it in the code but i had no luck still to get the images to show.

    ex:

    photos[0]="http://btckstorage.blob.core.windows.net/site7295/Album%20children/11.JPG"
    photos[1]="http://btckstorage.blob.core.windows.net/site7295/Album%20children/1.JPG"
    photos[2]="http://btckstorage.blob.core.windows.net/site7295/Album%20children/13.JPG"

    thanks for all the help so far, look forward to your reply.

  6. #6
    Join Date
    Apr 2012
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hey again, I tried a bunch of other photos using the absolute URL but still didnt work . Have you managed to solve it yet?
    Thanks again

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

    Default

    The absolute URLs seem valid, though the script on your page now appears different than the original (DHTML Slideshow)?
    DD Admin

  8. #8
    Join Date
    Apr 2012
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi, yeah sorry i was trying other scripts to see if i could get another image slideshow to work, however with no luck. I have change it back to (DHTML Slideshow) now if you could have a look again please.

    Thanks!

  9. #9
    Join Date
    Apr 2012
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    hey, can any admin's delete the thread please, due to the nature of the website images.

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
  •