PDA

View Full Version : HTML - Loading a directory of files



dodle
June 15th, 2009, 11:07 PM
Is this a good place to ask about javascript and/or php?

I've got an apache web server up and I'm trying to set up a page that will display a number of pictures as in an image browser.

According so some tutorials, the following pre-loads an image:

<SCRIPT LANGUAGE="JavaScript">
<!--

MyImage = new Image()
MyImage.src = "picture.jpg"

//-->
</SCRIPT>
But I want to load all of the pictures from a directory. What will I need to know, javascript, php, ajax? Are there some good tutorials out there for what I want to do?

dodle
June 16th, 2009, 01:14 AM
I found a cool program to do what I want: Jalbum (jalbum.net)

I may just stick with that.