Greetings all.
I am trying to use and display custom XMP metadata within zenphoto. My image files have a catalog of additional data that basically should be displayed on the image page and possibly change some of its behaviour.
I got this prepared as an XMP sidecar file. Now this file is analyzed by the xmpMetadata plugin as a filter, setting some of the values it recognizes and ignoring everything else. I would like to have the whole $metadata object from this filter available to my theme.
Which is the cleanest way to get this running without breaking anything else? I was thinking to do something like
$image->set('xmpMetadata', $metadata) in the plugin, but I am not even sure whether the $image object is available in image.php afterwards.
Thanks in advance for any pointers,
Thomas