Here I am with another Newbie question.
I'm creating a photo gallery for my Web site.
Right now I use a series of links to create the gallery:
<a href="./images/gallery/photo1.php"><img src="./images/gallery/thumbs/tn_photo1.php"></a> <a href="./images/gallery/photo2.php"><img src="./images/gallery/thumbs/tn_photo2.php"></a> <a href="./images/gallery/photo3.php"><img src="./images/gallery/thumbs/tn_photo3.php"></a>
My Linux host will already make the thumbnails from images I upload, and I've styled the links so they appear the way I want them to and it works fine.
I would like to be able to generate these links using a php script instead of having to make the above by hand. I'd like it to read the filenames in the gallery folder and create the links.
I looked at the oepndir command, but I don't know how I can make it create a link. I'm just plain confused.
Thanks for anyhelp you can give me.