Displays slideshow without entering file name one by one

Discussion in 'JavaScript' started by aspfun, Dec 29, 2006.

  1. #1
    There are about 200 photos in a folder d:\photos\.
    How to make a script to display slideshow of all photos one by one without entering each photo's name?
    I found a script which displays all photos but need to input all photos' name.
     
    aspfun, Dec 29, 2006 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    Javascript cannot read directories... which makes this impossible. Unless the images have similar names just with an unique ID that changes or something... (eg: image_1.jpg, image_2.jpg, etc...) You could use a loop then....
     
    nico_swd, Dec 30, 2006 IP