I’m not making the source available just yet, but here’s a preview.
zenphoto 0.1 test gallery
Right now, it’s a fully navigable gallery, with full on-the-fly image processing, a simple design using new template functions, display of image and album metadata, and more. Yet to be implemented are the admin interface (which you can’t see anyway :-) ), storing image metadata, comments, cruft-free URLs, and lots of other stuff…
This week, I fully implemented templates, which was big. It’s a simple template system. For example, this is how you print album thumbnails in the gallery index:
< ?php while (next_album()): ?>
< ?php printAlbumThumbImage(getAlbumTitle()); ?>
< ?php endwhile; ?>
Minimal code for the loop, yet still powerful. The functions run in “contexts” which give internal template functions more info on where they’re called. next_album(), next_image(), (...)
Read more