Zenphoto 0.1.1

  • mod_rewrite rules written (cruft-free URLs)
  • Class functions to save new metadata to the database
  • Lots of small bugfixes

Relevant links:

  • - zenphoto 0.11 - "cruft free"

Zenphoto 0.11 – “cruft free”

The point: You’ll never have to resize images again.

0.11 Demo Gallery

Feel free to play with the URLs and make your own sizes, but please, don’t request every pixel size from 1 to ten thousand until I’ve made some way to limit the cache… thanks.

Zenphoto 0.1 preview

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(), (...)

Zenphoto status

I’ve been working on it all weekend. I’m still in the first stages, but I’ve finished all image functions, including that spiffy size-in-the-url resizer feature. In fact, that went so well, I made all images in the program use it, which means every image displayed is actually proxied through a PHP script (i.php to be specific). It took some work, but I’ve got it caching images after processing, and sending the right headers so the user’s browser always caches it locally. That makes it behave exactly like a normal image. With mod_rewrite on, you won’t notice a difference.

If you would like a sneak preview of the horrible-looking version .01 alpha, leave a comment with your email and I’ll send you a link. I’m afraid of it being somehow insecure at this stage. In fact, I just thought of two vulnerabilities while writing that sentence. So leave me your email and if I trust you I’ll send you a link :-)

What I’ve done so far:

  • Directory traversals (...)

Zenphoto announcement

This is the official announcement for the start of development of zenphoto, a new, better, simpler, more useful, open-sourced, and overhyped personal web photo album app.

Read the full announcement and preliminary specifications (PDF, 63k).

Keep in mind that I’m very open to comments — I’m building this for you, so I want your ideas and feedback!

So it begins…