I made this list for my own use while I'm making my own templates / theme.
I'm just posting it up in case it might be useful for someone else.
please adjust and ammend it - i'm sure i have made some mistakes.
<?php while (next_album()): ?> --->
<?=getAlbumLinkURL();?> ---> link to album list view page - (album.php)
<?=getAlbumTitle();?>
<?php printAlbumThumbImage(getAlbumTitle()); ?>
<? printAlbumDate("Date Taken: "); ?>
<?=getAlbumLinkURL();?>
<?=getAlbumTitle();?>">
<?php printAlbumTitle(); ?>
<?php printAlbumDesc(); ?>
<p style="clear: both; ">
<?php endwhile; ?>
<?php printGalleryTitle(); ?> -----------> prints the Gallery title
<?=getAlbumTitle();?> --------------> prints the album title
<?= $_zp_themeroot ?> ----------> prints the url to the theme root folder
<?php zenJavascript(); ?> -----------> links to any external .js files and prints sajax / js scripts
<?=getGalleryIndexURL();?> ----> prints the gallery home page url
<?=getGalleryTitle();?> -----> prints the ghallery title (dont know the difference between this and <?php printGalleryTitle(); ?> )
<?php printAlbumTitle(true);?> -------> prints the album title (dont know the difference between this and <?=getAlbumTitle();?>)
<?php printAlbumDesc(true); ?> -------> prints the album description
the folowing chunk writes your thumbnail navigation.
<?php while (next_image()): ?>
<?=getImageLinkURL();?> ----------> the link to the bigger picture
<?=getImageTitle();?> ---------> the image title
<?php printImageThumb(getImageTitle()); ?> ----> the thumbnail itself
<?php endwhile; ?>
<?php printPageListWithNav("« prev", "next »"); ?> ----> this will print out a "< previous next >" style nav which moves from album to album
<?php printAdminLink('Admin', '', ' | '); ?> ----> prints the admin link if you are logged out
image.php
<?php printGalleryTitle(); ?>
<?=getAlbumTitle();?>
<?=getImageTitle();?>
<?= $_zp_themeroot ?>
<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 zenJavascript(); ?>
the following block outputs the image nav "< previous next >" and finds out if there is another image or not.
<?php if (hasPrevImage()) { ?>
" title="Previous Image">« prev</div>
<?php } if (hasNextImage()) { ?>
<div class="imgnext">
" title="Next Image">next »</div>
<?php } ?>
this block gives you the image:
<?=getFullImageURL();?> --> image url
<?=getImageTitle();?> ---> image title
<?php printDefaultSizedImage(getImageTitle()); ?> ----> prints image at your large image
<?php printImageDesc(true); ?> -----> prints the image description
Comments
I think this would also help other start working on new themes.
I'm currently working on completely moving my server to a new one... so after that's done maybe I can install one.
A better site for all of ZP is due... with a theme page, a doc page, etc. etc. Perhaps we can build it off a Wiki. Sounds like a great idea.
I definately recommend Trac (http://www.edgewall.com/trac/). It is a free project management software written in PHP, which includes SVN for code contribution, wiki is also integrated... tons of cool features. Many large projects use it, and I think it would be very appropriate for zenphoto !
My 2 cents.
Looks to be great stuff so far. We'll start using it for real soon.
Binary / download
Cimi (unreleased)
EnsellitisZEN / download
iZen / download
K2 Integration / download
Killer Bee / download
Lightbox / download (alternative version)
Stopdesign / download
Thatlittleguy Green / download
--
(Note: Added by trisweb)
--
Sterile / Download (Levi Buzolic)