Hi folks,
Is it possible to tweak the code so that the overview page shows all of the imager in my installation, one album after the other?
I'm using Zen Photo for an illustration portfolio so I figure it would be better to do this than require that extra click to get into each album - and there's not that many images either.
Sorry if this is answered elsewhere, I couldn't find anything elsewhere on the forum about this...
Cheers,
James
Comments
<?php include('header.php'); ?>
<title><?php printGalleryTitle(); ?></title>
<h2><?php echo getGalleryTitle(); ?></h2>
<div class="primary">
<div id="albums">
<?php while (next_album()): ?>
<div id="images">
<?php while (next_image()): ?>
<div class="image">
<div class="imagethumb">" title="<?=getImageTitle();?>"><?php printImageThumb(getImageTitle()); ?></div>
</div>
<?php endwhile; ?>
</div>
<div class="album">
<div class="albumdesc">
<h3>" title="View album: <?=getAlbumTitle();?>"><?php printAlbumTitle(); ?></h3>
</div>
<p style="clear: both; ">
</div>
<?php endwhile; ?>
</div>
</div>
<?php include('footer.php'); ?>
Now I've got all images from each album shown on my index page instead of just the one...
<?php include('header.php'); ?>
<h2><?php echo getGalleryTitle(); ?></h2>
<div class="primary">
<div id="images">
<?php while (next_album()): ?>
<?php while (next_image()): ?>
<div class="image">
<div class="imagethumb">" title="<?=getImageTitle();?>"><?php printImageThumb(getImageTitle()); ?></div>
</div>
<?php endwhile; ?>
</div>
<div class="albumdesc">
<h3>" title="View album: <?=getAlbumTitle();?>"><?php printAlbumTitle(); ?></h3>
<p style="clear: both; ">
</div>
<?php endwhile; ?>
<br clear="both" /><br/>
</div>
</div>
<?php include('footer.php'); ?>