A working single album based on the default theme. Use this as the index.php script.
`<?php if (!defined('WEBPATH')) die(); $themeResult = getTheme($zenCSS, $themeColor, 'light'); $firstPageImages = normalizeColumns('2', '6');?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php zenJavascript(); ?>
<title><?php printGalleryTitle(); ?></title>
<link rel="stylesheet" href="<?php echo $zenCSS ?>" type="text/css" />
<?php printRSSHeaderLink('Gallery',gettext('Gallery RSS')); ?>
</head>
<body>
<div id="gallerytitle">
<?php if (getOption('Allow_search')) { printSearchForm(''); } ?>
<?php printHomeLink('', ' | '); echo getGalleryTitle(); ?>
<?php
$albums = $_zp_gallery->getAlbums();
$_zp_current_album = new Album($_zp_gallery, $albums[0]);
set_context(ZP_INDEX | ZP_ALBUM);
?>
<div id="albums">
<?php while (next_album()){ ?>
<div class="album">
<div class="thumb">
<?php echo getAlbumTitle();?>"><?php printAlbumThumbImage(getAlbumTitle()); ?>
<?php echo getAlbumTitle();?>"><?php printAlbumTitle(); ?>
<small><?php printAlbumDate(""); ?></small>
<?php printAlbumDesc(); ?>
<p style="clear: both; ">
</div>
<?php } ?>
</div>
<?php while (next_image(false, $firstPageImages)): ?>
<div class="image">
<div class="imagethumb">"><?php printImageThumb(getImageTitle()); ?>
</div>
<?php endwhile; ?>
</div>
<?php printPageListWithNav("« ".gettext("prev"), gettext("next")." »"); ?>
<?php printTags('links', gettext('[b]Tags:[/b]').' ', 'taglist', ''); ?>
</div>
<?php if (function_exists('printSlideShowLink')) printSlideShowLink(gettext('View Slideshow')); ?>
<?php if (function_exists('printAlbumRating')) { printAlbumRating(); }?>
</div>
<?php printRSSLink('Album', '', gettext('Album RSS'), ''); ?> | <?php echo gettext("Archive View"); ?> | <?php echo gettext("Powered by"); ?> ">zenphoto
<?php printAdminToolbox(); ?>
</body>
</html>`