PDA

View Full Version : Can't Get images to load. DHTML slide show (manual)



da1993r
04-29-2012, 03:46 PM
DHTML slide show (manual)

http://www.dynamicdrive.com/dynamicindex14/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

ddadmin
04-29-2012, 06:29 PM
The image paths you're using currently are invalid:


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/Albums/site7295/Album%20children/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:


photos[0]="http://www.mysite.com/site7295/Album%20children/13.JPG"


verifying that the absolute URL works first of course.

da1993r
04-29-2012, 07:41 PM
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!

ddadmin
04-29-2012, 11:02 PM
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:


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

da1993r
04-29-2012, 11:31 PM
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.

da1993r
05-01-2012, 04:11 PM
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

ddadmin
05-02-2012, 12:24 AM
The absolute URLs seem valid, though the script on your page now appears different than the original (DHTML Slideshow)?

da1993r
05-02-2012, 08:56 AM
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!

da1993r
05-23-2012, 06:30 PM
hey, can any admin's delete the thread please, due to the nature of the website images.