View Full Version : Fade-in slideshow is adding relative path to absolute image reference on server

08-20-2014, 02:00 AM
1) Ultimate Fade-in Slideshow v 2.6

2) http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

3) A simplified version of the demo script was working fine when tested locally. When uploaded to a server, the image links were broken. On checking, a relative path had been added to the absolute image reference. #["http://www.dynamicdrive.com/dynamicindex4/pool.jpg"]# became #<img src="../slideshow test/http://www.dynamicdrive.com/dynamicindex4/pool.jpg" style="border-width: 0px; display: none;">#.

My knowledge of javascript has faded, and I've never worked with jQuery. There seems to be some sort of memory here, and I don't know where it's been set.

The script is currently at http://marshalls.org/slideshow-test/test.html.

Where would I look for a solution? Thanks for your help!

08-20-2014, 10:27 PM
Try uploading the sample images to your own server first, then modifying the images array inside the script to point to those images:

imagearray: [
["http://mysite.com/dog.jpg"] //<--no trailing comma after very last image element!

Hot linking of images is disabled on DD.

08-21-2014, 10:38 PM
Thanks, that made it work. I hadn't thought about that being a possibility!

08-22-2014, 01:10 AM
thanks you.