The title pretty much says it all. There are tons of scripts out there that do so, but most of them are so bloated and end up messing up script, and just use info from alt tags. My script goes as follows:
<ul>
<li style="display:block">
<img src="images/portfolio/talktostrangers/1.jpg" />
<div class="caption">
<span class="projecttitle">Talk to Strangers</span>A social awareness campaign that proposes people talk to strangers on trains, subways, elevators, & the like.
</div>
</li>
</ul>
The preview can be viewed here to get an idea of where it will go: http://www.studioimbrue.com/beta