Heres how I did it. Very rough grab of the code but should give you an idea.
// Grab all that crazy IPTC stuff from each image
$size = GetImageSize ("/www/directory/$file/$image",&$info);
$iptc = iptcparse ($info["APP13"]);
if (isset($info["APP13"])) {
//$iptc = iptcparse($info["APP13"]){
if (is_array($iptc)) {$caption = $iptc["2#120"][0]; }}
// Caption Display
print ('<br>');
print ('<span class=img_caption>');
print ($caption);
print ('<br>');
print ('<b>Click Photo for Hi Res </b>');
print ('</span>');
}
else
echo $image;
print('</td>');
}