Whistlemaker, I wound up using your php to create an unordered list of all the jpeg files in the directory, and then using a javascript slideshow tutorial I found.
I have one question - is it possible, using your php, to include the file name of each image without the .jpg extension, in a paragraph tag? What would I have to add to the following to add that where I have "File Name Here"?
$files = scandir($imagedir);
$html = '<ul class="slides">';
foreach ($files as $filename) {
if(strstr($filename, '.jpg'))
{
$html .= '<li><img src="'.$imagedir.'/'.$filename.'" alt=" " /><p class=flexcaption>"File Name Here"</p></li>';
}
}
$html .= '</ul>';
return $html;
Unfortunately I have no knowledge of PHP (it's on my list of things to learn, but unfortunately time hasn't permitted at this stage).
Thank you so much everyone for your help.