I've been doing lot's of hard-core theme development and think this would be a nice addition just below `getImageMetaData()`in template-functions.php. It would add nice bit of abstraction for `printImageMetadata()` and would easily allow custom EXIF display that doesn't rely on tables (that's my aim anyway).
If one of the regular developers thinks it's a good idea and worth a commit then just say the word an I'll update `printImageMetadata()` to use it.
`
/**
* Returns the Metadata infromation from the current image,
* but only the fields enabled under admin->options->image->EXIF display
*
* @param $image optional image object
* @return array
* @author timo
*/
function getDisplayEXIF($image=NULL) {
global $_zp_exifvars, $_zp_current_image;
if (is_null($image)) $image = $_zp_current_image;
if (is_null($image) || !$image->get('hasMetadata')) return false;
$exif = $image->getMetaData();
$displayEXIF = array();
foreach ($exif as $field => $value) {
if ($_zp_exifvars[$field][3]) //the enable field
$displayEXIF[ $_zp_exifvars[$field][2] ] = $value;
}
return $displayEXIF;
}
`