Hello all. It's my first forum post on DaniWeb. Hope to meet like-minded people here : )
I have installed a JQuery Photo Gallery: pretty nifty one. http://coffeescripter.com/code/ad-gallery/
I was planning to have a folder in my web directory called "Photographs", containing both photographs and thumbnails of the photographs for the Photo Gallery.
Is there a method where I will be able to get a list of the File Names of the files in the folder "Photographs", and store each of the filename in an Array? I don't want to have to hardcode one photo one at a time: it'll be convenient if I'll need to add in new photographs in the future.
The following are the hierarchy of the file/folder.
sichuan/index.asp - File containing the script
sichuan/photographs/ - Folder containing the photographs
sichuan/photographs/thumb - Folder containing the thumbnails of the photographs
I understand that I should be able to use some of these file system objects, but I'm not sure how to... http://www.w3schools.com/asp/asp_ref_filesystem.asp'
Any suggestions? Thanks!