Hi Carl,
Sure thing... the first thing you want to do is build an array from the folder's contents.
You would use the "scandir" command, such as $imagegal = scandir('yourFolder');
Once you have the array, loop through it with something like a "for each" loop and then test to see if each file is an image. You have to do this because a lot of times, there will be hidden files in a folder for notes or other things.
You can test if it is an image simply by making an if statement with getimagesize. For example: if (getimagesize($loopIteration)
This works because if it is not an image, it won't create a value there.
So you could have inside your for each loop of the scandir array,
<?php
if (getimagesize($i)) { ?>
<div class"yourClass"><img src="/yourFolder/$i" /></div>
<?php } ?>
Let me know if you need more details... I only had a few moments to post this... I can send you an email later or post more details when I get home tonight.
Best regards,
Brian


