I'm trying to think of a way to make this happen.
I'm using a jQuery slideshow to display images, and a simple php script to pull the images from a folder based on which gallery the user selects:
$handle = opendir(dirname(realpath(__FILE__)).'/../images/gallery/'.$gallery);
while($file = readdir($handle)){
if($file !== '.' && $file !== '..'){
$pictures .= '<img src="images/gallery/'.$gallery.'/'.$file.'" alt="" />';
}
}
I'm doing it this way since there are 6 different galleries, and the amount of photos in each gallery varies, from about 25 - 40 pictures. If I did the site staticly, or had a database running it'd be no problem, but I can't think of a PHP way of doing this.
Basically here is an example of what I'm hoping to do: I hard coded all the images and text
But on this page I can't think of a good way of doing it