Results 1 to 3 of 3

Thread: Help With Image Path

  1. #1
    Join Date
    Dec 2005
    Location
    Dallas Texas
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Help With Image Path

    Hello,

    I used a image fader from dynamicdrive....
    http://www.dynamicdrive.com/dynamici...nslideshow.htm

    I just need to know how to inplement the code into my web page telling the array where to find the pictures, as they are located in another dictory.

    The code assumes, and looks for the pictures in the root directory.

    Can anyone help. I know this must be a simple code fix.


    Rick

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Code:
    fadeimages[0]=["images/photo1.jpg", "", ""] //plain image syntax
    or:

    Code:
    fadeimages[0]=["http://www.somedomain.com/images/photo1.jpg", "", ""] //plain image syntax
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Dec 2005
    Location
    Dallas Texas
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Yes, Thank You. I had named the directory fade-in. So the code line would be:
    fadeimages[0]=["fade-in/photo1.jpg", "", ""] //plain image syntax

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
  •