Hello,
I installed the latest version of zenphoto and I'm building a theme for my zenphoto site based on default's theme. But I have a problem for EXIF.
I'd like to have the exifs directly under the photography and not in a pop up.
So I modify "image.php":
I turned off: `<?php if (getImageEXIFData()) {echo "<div id=\"exif_link\">
".gettext("Image Info").""; printImageMetadata('', false);}`
and I put in place '<?php if (getImageEXIFData()) {printImageMetadata('', false);}?>'
but I don't see anything on my site. When I look at the HTML code generated, I have the EXIF. And my CSS is correct.
I search on the forum but I don't find so Can you help me?
Thanks a lot
Comments
Try this code :
(<hr />
<?php
if (getImageEXIFData())
{
echo "<h2 >".gettext("Image Info")."</h2>";
printImageMetadata('', false, 'imagemetadata_inline');
}
else {
echo "<h2 >".gettext("Image Info")."</h2>";
printImageMetadata('', true, 'imagemetadata_inline');
}
?>
<?php printTags('links', gettext('Tags:').' ', 'taglist', ''); ?>
</div>
<?php } ?>)
It worked well for me. You can see it at:
www.ef-productions.com
Hope that help