ZenphotoCMS Forum
Exif under photography not in popup - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Themes (https://forum.zenphoto.org/forum-5.html)
+--- Thread: Exif under photography not in popup (/thread-3792.html)



Exif under photography not in popup - moebus - 2008-09-18

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


Exif under photography not in popup - eF - 2008-10-03

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