Member
Member
moebus   2008-09-18, 20:57
#1
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 "<a href=\"#TB_inline?height=345&width=300&inlineId=imagemetadata\" title=\"".gettext("Image Info")."\" class=\"thickbox\">".gettext("Image Info")."</a>"; 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
Member
Member
eF   2008-10-03, 12:55
#2
Hi Moebus

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('[b]Tags:[/b]').' ', 'taglist', ''); ?>
</div>
<?php } ?>)

It worked well for me. You can see it at:

www.ef-productions.com

Hope that help
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.