trouble loading all images from a folder (in a certain way)
The portfolio itself is for a night photographer that covers different events. For each event there is a page where the photos from that event are displayed.
Then i call for each image in the body of the html page:
<img src="../../images/baobab04.02.11/1.jpg" width="720" height="480" border="0" />
<img src="../../images/baobab04.02.11/2.jpg" width="720" height="480" border="0" />
I've read about this function to loop for each image in a directory:
foreach(string fileName f in Directory.GetFiles("SomeDirectory"))
But i'm lost as to how to implement it and make a new <div class="post"> for each file in the directory.
Thank you all in advance