I am using it like this right now in some tests
`
<?php setThemeDomain("zenpage-default"); if (!defined('WEBPATH')) die(); $firstPageImages = normalizeColumns('2', '6');?>
<!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">
<head>
<?php zenJavascript(); ?>
<title><?php echo getBareGalleryTitle(); ?> | <?php echo getBareAlbumTitle();?> | <?php echo getBareImageTitle();?></title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="<?php echo $_zp_themeroot; ?>/style.css" type="text/css" />
<?php /*?><link rel="stylesheet" href="<?php echo FULLWEBPATH . "/" . ZENFOLDER ?>/js/thickbox.css" type="text/css" />
<script src="<?php echo FULLWEBPATH . "/" . ZENFOLDER ?>/js/thickbox.js" type="text/javascript"></script>
<script type="text/javascript">
function toggleComments() {
var commentDiv = document.getElementById("comments");
if (commentDiv.style.display == "block") {
commentDiv.style.display = "none";
} else {
commentDiv.style.display = "block";
}
}
</script><?php */?>
<?php printRSSHeaderLink('Gallery',gettext('Gallery RSS')); ?>
</head>
<body>
style="margin-top: 16px;"<?php */?>><!-- somehow the thickbox.css kills the top margin here that all other pages have... -->
<div id="header">
<div class="logoc">[Image:
http://gallery.chris.is/themes/default/logo.gif]
</div>
"><?php echo gettext("Index"); ?> <?php /*?>» <?php echo gettext("Gallery"); ?><?php */?><?php printParentBreadcrumb(" » "," » "," » "); printAlbumBreadcrumb(" ", " » "); ?>
[b]<?php printImageTitle(true); ?>[/b] (<?php echo imageNumber()."/".getNumImages(); ?>)
<div id="content-left">
<div align="right"><?php if (function_exists('printSlideShowLink')) printSlideShowLink(gettext('View Slideshow')); ?>
<?php if (hasPrevImage()) { ?>
<div class="imgprevious">">« <?php echo gettext("prev"); ?>
<?php } if (hasNextImage()) { ?>
"><?php echo gettext("next"); ?> »
<?php } ?>
</div>
<!-- The Image -->
<?php if (!checkForPassword()) { ?>
<?php if(function_exists("printPagedThumbsNav")) { printPagedThumbsNav(6, FALSE, gettext('« prev thumbs'), gettext('next thumbs »'), 40, 40, 40, TRUE); } ?>
<?php /*?> ">
<?php printCustomSizedImageMaxSpace(getBareImageTitle(),580,580); ?>
<?php */?>
<?php printCustomSizedImageMaxSpace(getBareImageTitle(),640,640); ?>
<?php printImageDesc(true); ?>
<?php /*?> <?php
if (getImageEXIFData()) {echo "<div id=\"exif_link\"><a href=\"#TB_inline?height=345&width=300&inlineId=imagemetadata\" title=\"".gettext("Image Info")."\" class=\"thickbox\">".gettext("Image Info")."</a>";
printImageMetadata('', false);
}
?><?php */?>
<?php /*?> <?php printTags('links', gettext('[b]Tags:[/b]').' ', 'taglist', ''); ?><?php */?>
<?php if (function_exists('printImageMap')) printImageMap(NULL, "G_HYBRID_MAP", '640', '250', "Map", false, "googlemap" ); ?>
<?php /*?> <?php if (function_exists('printImageRating')) { printImageRating(); }?>
<?php if (function_exists('printShutterfly')) printShutterfly(); ?><?php */?>
<?php /*?><?php if (getOption('Allow_comments')) { ?>
</div>
<?php $num = getCommentCount(); echo ($num == 0) ? "" : ("".gettext("Comments")." ($num)[hr]"); ?>
<?php while (next_comment()){ ?>
<div class="comment">
<div class="commentmeta">
<?php printCommentAuthorLink(); ?> <?php gettext("says:"); ?>
<?php echo getCommentBody();?>
<?php echo getCommentDate();?>
,
<?php echo getCommentTime();?>
<?php printEditCommentLink(gettext('Edit'), ' | ', ''); ?>
</div>
<?php }; ?>
<?php if (OpenedForComments()) { ?>
<!-- If comments are on for this image AND album... -->
<?php echo gettext("Add a comment:"); ?>
<form id="commentform" action="#" method="post">
<div><input type="hidden" name="comment" value="1" />
<input type="hidden" name="remember" value="1" />
<?php
printCommentErrors();
$stored = getCommentStored();
?>
<table border="0">
<tr>
<td><label for="name"><?php echo gettext("Name:"); ?></label>
(<input type="checkbox" name="anon" value="1"<?php if ($stored['anon']) echo " CHECKED"; ?> /> <?php echo gettext("don't publish"); ?>)
</td>
<td><input type="text" id="name" name="name" size="20" value="<?php echo $stored['name'];?>" class="inputbox" />
</td>
</tr>
<tr>
<td><label for="email"><?php echo gettext("E-Mail:"); ?></label></td>
<td><input type="text" id="email" name="email" size="20" value="<?php echo $stored['email'];?>" class="inputbox" />
</td>
</tr>
<tr>
<td><label for="website"><?php echo gettext("Site:"); ?></label></td>
<td><input type="text" id="website" name="website" size="40" value="<?php echo $stored['website'];?>" class="inputbox" /></td>
</tr>
<?php if (getOption('Use_Captcha')) {
$captchaCode=generateCaptcha($img); ?>
<tr>
<td><label for="code"><?php echo gettext("Enter Captcha:"); ?>
<img src=<?php echo "\"$img\"";?> alt="Code" align="bottom"/>
</label></td>
<td><input type="text" id="code" name="code" size="20" class="inputbox" /><input type="hidden" name="code_h" value="<?php echo $captchaCode;?>"/></td>
</tr>
<?php } ?>
<tr><td colspan="2"><input type="checkbox" name="private" value="1"<?php if ($stored['private']) echo " CHECKED"; ?> /> <?php echo gettext("Private (don't publish)"); ?></td></tr>
</table>
<textarea name="comment" rows="6" cols="40"><?php echo $stored['comment']; ?></textarea>
<input type="submit" value="<?php echo gettext('Add Comment'); ?>" class="pushbutton" />
</form>
</div>
</div>
<?php } else { echo gettext('Comments are closed.'); } ?>
<?php } ?><?php */?>
<?php } ?>
</div><!-- content-left -->
</div>
<?php include("sidebar.php"); ?>
<?php include("footer.php"); ?>
</div><!-- content -->
</div><!-- main -->
<?php printAdminToolbox(); ?>
</body>
</html>
`