Results 1 to 4 of 4

Thread: Javascript

  1. #1
    Poster
    Join Date
    Jan 2003
    Location
    United Kingdom
    Posts
    1,184
    I have a large folder of images from which I would like to display the contents of into a single page. Is there a JavaScript that will display all the images inside this folder? BTW, the images do not stick to a naming convention.

  2. Software & Hardware   -   #2
    Forum Star
    Join Date
    Jun 2002
    Posts
    1,324
    I don't think so. As far as I know JavaScript doesn't have functions to read a directory listing into an array.


    If you would number the files (with a renamer like CKrename it takes just a second), then you could display all the pictures easily with a simple for-loop.

  3. Software & Hardware   -   #3
    Poster
    Join Date
    Jan 2003
    Location
    United Kingdom
    Posts
    1,184
    Good idea, much like you have demonstrated here.

  4. Software & Hardware   -   #4
    Poster
    Join Date
    Oct 2003
    Location
    UK
    Posts
    1,158
    Originally posted by Amarjit@14 October 2003 - 16:42
    Good idea, much like you have demonstrated here.

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
  •