I am working on a photo gallery that uses a javascript to produce a slider of photos scrolling through a finite list of images.
My question for everyone is whether javascript can read a directory on the server and load the list of .jpg file into an array that can be passed via a variable?
My ultimate goal is to have the user scroll through the list of jpg's in a directory and on a double click event display a large image of the jpg on the screen.
I found a PHP script not long ago that allows me to view my directories files. It looks similar to javascript and I was able to modify it somewhat. If you have a directory that only has images in it, I bet you could use it if, you learn a little more about PHP
The PHP is 2k and the html is another 1k
It's going to be some work?
Bookmarks