Entry
Is there a way to read a directory, and based on the contents of the directory, display only the images actually in that directory on a web page?
Dec 16th, 2003 04:50
Colin Fraser, Bas Cost Budde, Brian Rupert,
No, not in JavaScript, for that you may need an applet in Java or C++
or
C#.
Yes you can! See http://developer.irt.org/script/393.htm for an
example. I found this doesn't work in IE, but it does in Mozilla so I
expect Netscape 6/7 too.
--BCB
Oh! my apologies, I misread the question, I made the assumption that the
question was looking for images on the clients's computer, not the
server. Certainly, in terms of using the server, but certainly not if
attempting to use the client. Sorry, and the irt.org solution suggested
above is valid..btw...