PDA

View Full Version : Need help with EXIF info and tags


ScarySquirrel
05-28-2007, 12:28 PM
Hello.

I have searched and searched the forums and documentation but I cannot find the answer to my questions.

All I want to do is to have the EXIF data displayed underneath my images.

Now how do I do this? Am I right in saying I do it with tags? If so do I do this when I post the images, if so in what format because in the tag field when posting a new image, no matter what I type there, nothing happens.

Here is my image_template, so if anyone could edit it quickly and show me how to do it that would be a massive help. As I said I have searched and just simply do not understand:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title><SITE_TITLE> :: <IMAGE_TITLE></title>
<!-- Link for ATOM feed autodiscovery -->
<ATOM_AUTODETECT_LINK>
<!-- Link for RSS feed autodiscovery -->
<RSS_AUTODETECT_LINK>
<!-- META -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="content-type" name="keywords" content="PhotoBlog,<SITE_TITLE>,<IMAGE_TITLE>,Pixelpost" />
<meta http-equiv="content-type" name="description" content="<SITE_TITLE>-PhotoBlog: <IMAGE_TITLE>, <IMAGE_NOTES_CLEAN>" />
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="templates/suffocate/styles/suffocate.css" />
<!-- SCRIPTS -->
<!-- BoxOver script is from http://boxover.swazz.org/ -->
<script type="text/javascript" src="templates/suffocate/scripts/boxover.js"></script>
<!-- ImageFader script is by Richard Rutter http://clagnut.com/sandbox/imagefades/ -->
<script type="text/javascript" src="templates/suffocate/scripts/imagefader.js"></script>
<script language="javascript" type="text/javascript">
<!--
function clearBox(box) {
if(box.value==box.defaultValue) {
box.value = "";
}
}
-->
</script>

</head>

<body>
<div id="navigation">
<div id="headerlogo">
<a href="index.php" title="Return to Homepage"><img src="templates/suffocate/images/header-logo.gif" alt="" width="200" height="42" border="0" /></a>
</div>
<div id="top-menu">
<ul>
<li><a href="<SITE_BROWSELINK>" title="Browse">GALLERIES</a></li>
<li id="end"><a href="index.php?x=about" title="About">ABOUT</a></li>
</ul>
</div>
</div>
<div id="mainphoto">
<a href="index.php?showimage=<IMAGE_PREVIOUS_ID>">
<img src="images/<IMAGE_NAME>" alt="<IMAGE_TITLE>" title="header=[<IMAGE_TITLE>] body=[click to view previous photo] fade=[on]" width="<IMAGE_WIDTH>" height="<IMAGE_HEIGHT>" border="0" id="photofader"/>
</a>
</div>

<div id="image-navigate">
<div id="image-previous">
<ul>
<li><IMAGE_PREVIOUS_LINK></li>
</ul>
</div>
<div id="image-next">
<ul>
<li><IMAGE_NEXT_LINK></li>
</ul>
</div>
</div>

<div id="image-info">
<span class="categories"><IMAGE_CATEGORY></span>
<span class="phototitle"><IMAGE_TITLE></span> - <IMAGE_DATETIME>
<p><IMAGE_NOTES></p>
</div>

<div id="thumbrow">
<IMAGE_THUMBNAIL_ROW>
</div>

<div id="commentsbox">
<div id="commentsbg">
<div id="commentsarea">
<div class='comments-none'><IMAGE_COMMENTS></div>
</div>

<div id="addcomment">
<form method='post' action='index.php?x=save_comment' name='commentform' accept-charset='UTF-8'>
<textarea name='message' rows='2' cols='40' onfocus="clearBox(this);">Type your comment here.</textarea>
<label for="name">Name</label><br />
<input type='text' name='name' class='input' value='<VINFO_NAME>' id="name"/><br />
<label for="url">Website URL, if any</label><br />
<input type='text' name='url' class='input' value='<VINFO_URL>' id="url"/><br />
<label for="email">Email (not visible to others)</label><br />
<input class='input' type='text' name='email' value='<VINFO_EMAIL>' id="email"/><br />
<input name='vcookie' type='checkbox' id="saveinfo" value='set' checked="checked" />
<label for="saveinfo">Save User Info</label><br />
<input type='image' src='templates/suffocate/images/add_button.gif' value='Add' class='comment-button'/>
<input type='hidden' name='parent_id' value='<IMAGE_ID>' />
<input type='hidden' name='parent_name' value='<IMAGE_NAME>' />
<TOKEN>
</form>
</div>
</div>
</div>

<div id="footer">
copyright &copy; 2007, all rights reserved&nbsp;|&nbsp;<strong><a href="admin/">admin</a></strong>&nbsp;|&nbsp;template created by <a href="http://suffocate.us">john grayson</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://validator.w3.org/check/referer" title="This website uses Valid xHTML"><img src="templates/suffocate/images/w3c_xhtml.gif" alt="" width="80" height="15" align="middle" border="0" /></a>&nbsp;&nbsp;<a href="http://jigsaw.w3.org/css-validator/check/referer" title="This website uses Valid CSS2"><img src="templates/suffocate/images/w3c_css.gif" alt="" width="80" height="15" align="middle" border="0" /></a>&nbsp;&nbsp;<a href="index.php?x=rss" title="RSS"><img src="templates/suffocate/images/rss_icon.gif" alt="" width="46" height="15" align="middle" border="0" /></a>&nbsp;&nbsp;<a href="http://www.pixelpost.org/" title="pixelpost.org" target="_blank"><img src="templates/suffocate/images/pixelpost.gif" alt="" width="80" height="15" align="middle" border="0" /></a>
</div>


</body>
</html>


Thanks

austriaka
05-28-2007, 04:29 PM
Don't confuse the Pixelpost Tags you use for template variables with the "tags" you use for tagging your images with keywords.
There are EXIF related Pixelpost Tags, use them the same way you use "<IMAGE_PREVIOUS_LINK> for example.
You can find all Pixelpost Tags listed in a file in the docs folder which comes with Pixelpost installation

KArin

Dkozikowski
05-30-2007, 10:06 AM
Pixelpost v1.6 Tags (http://public.dwilkinsjr.com/pixelpost/docs/1.6.0/tags.html)