Zenphoto 1.0.4

  • Backend performance improvements! Zenphoto is now up to 10 times faster at rendering album and image pages with extremely large albums, and at least three times as fast for moderately-sized ones. [trisweb]
  • Fixed bug where clicking the album or gallery in the breadcrumb would always go to page 1 [trisweb]
  • Fixed a bug with database constraint naming conflicts with multiple installations [trisweb]
  • Added an ini_set to try to adjust PHP's memory limit (may allow for larger images to be processed). [trisweb]
  • Better and more secure comment input filtering from the kses library. [Niels Leehneer]
  • Database access code abstracted and refactored. All (most) queries are now generalized through a new database class: PersistentObject. [trisweb]
  • Bugfixes in saving of "Place" field - formerly overwrote the title (oops) [trisweb]
  • Sub-albums half implemented (for TESTING ONLY). Use the Sub-Albums Test Theme to try (...)

Zenphoto 1.0.3 Released!

Ahh the smell of fresh code in the morning…

Just released zp 1.0.3. It’s got lots of new features and about a million bugfixes, so defininitely upgrade soon if you can. Get it at as usual.

The coolest part of this release is a huge rework of i.php, the image processor. While it used to only have some limited resizing options (longest side, width, or cropped thumbnail), now it does anything you darn well want it to. You can specify exact width and height and crop dimensions and position. As of now, it’s kinda hard to formulate the input URLs for everyday use, but plugin authors and theme developers should find the new options pretty much awesome. If you want to (...)

Zenphoto 1.0.3 beta

  • Added more image size options to i.php (custom sizes and crops) [trisweb]
  • Added ability to get image size/orientation from a theme (see documentation) [trisweb]
  • Width and height attributes now filled in theme images (page loading looks much better) [trisweb]
  • Changed name of a function that conflicts with WordPress (is_valid_email) [trisweb]
  • Special characters in file and folder names should now work (with or without mod_rewrite) [trisweb]
  • Fixed several critical vulnerabilities and security issues. [trisweb]
  • Support for UTF-8 and any other desired character set added. [Niels Leehneer]
  • Added way for themes to have custom pages. Use index.php?p=page in your theme for access to /themes/yourtheme/page.php [trisweb]
  • Many other bugs fixed: View All


New Zenphoto Wiki and Bugtracker

I’m pleased to announce two new additions to the Zenphoto community:

The Zenphoto Wiki (

The Zenphoto Bugtracker (

If you use zenphoto, and especially if you develop themes or plugins, we’d love to have you help out with documentation, support, bug-catching… anything you can find time for. Also, we’ve officially cut our ties with berlios, so you don’t ever need to go back there.

So make some accounts and have fun!


Zenphoto 1.0.2 beta release

I’m pleased to announce the release of zenphoto 1.0.2 beta! This is an important security release, so everyone using zenphoto should upgrade as soon as possible. Head over to for the download and changelog.

The major changes in this release include:

  • Security fixes and improvements
  • Rework of the image serving model–now images are redirected straight from cache (to let apache deal with them) rather than being served through PHP. This should eliminate complaints from certain hosts about CPU cycles, and generally makes everything much faster. Images are still created and returned through the URL as before.
  • Path bugs are fixed, please let us know if you encounter any problems. However, if you do need to override the paths manually, there’s now a place at the bottom of config.php for it.
  • Root installs now work (but are limited to one (...)

Web2.0 Awards Honorable Mention for Zenphoto!

For some reason, zenphoto got an honorable mention in this year’s Web 2.0 awards! I was quite surprised to find that email in-between the spam in my Hotmail account.

We got the award for the “Photos & Digital Imaging” category, in the shadows of such greats as Flickr and, well, Flickr. Hopefully people see the value in an open-source self-hosted alternative to the big guy, so we’ll keep working on making it even more than that (seriously, we’re working on it for real now :-) ).

And of course, the best part is that we get to show this:


While we’re still on the subject, we have a release coming tomorrow. Lots of bugfixes and security patches. Make sure to check it out. Update: tomorrow’s release delayed until tomorrow (today). It’s all set, just need to do the site changes and I’m out of time. Thanks for your patience.


Zenphoto 1.0.2 beta

  • Changed the way images are returned. Should drastically reduce CPU time used (a big issue for Dreamhost users). [trisweb]
  • Fixed bug with installation paths containing the string 'zen'; refined path resolution more. [trisweb]
  • Fixed several critical vulnerabilities and security issues. [trisweb]
  • Minor cosmetic path fix— /page/1 should never be seen now. [trisweb]
  • Root domain and subdomain installations now work. For mod_rewrite, use RewriteBase / [trisweb]

Zenphoto 1.0.1 beta

  • Fixed an embarrasing bug in template-functions.php where an empty Gallery would cause failures. [luckyspin]


Zenphoto 1.0.0 beta

  • Added Album sorting. Default is by filename, but you can drag and drop your preferred order manually. [luckyspin]
  • Added [refresh] link to Gallery stats, you can now manually reset your stats and clean up your DB tables. [trisweb]
  • Added Gallery sorting. Default is newest first, but you can drag and drop your preferred order. [luckyspin]
  • Added deletion of images and albums in admin. [trisweb]
  • Added email notification to the admin user when comments are posted. [luckyspin]
  • Admin: Created admin functions to clean up admin page(s). [luckyspin]
  • Admin: Created an upgrade page to migrate db tables to new schema. [luckyspin]
  • Admin: Spruced up some of the admin pages to their L&F was consistent. [luckyspin]
  • Improved path resolution; please report any bugs you run into! [trisweb]


Zenphoto update (and WP2)

First, I upgraded to Wordpress 2.0 fairly smoothly, and I have to ask, how exactly did they manage to make the admin interface uglier than it was before? I don’t mean to be harsh… I like most of the rest of it–except the image upload addition–it will drive me to create a ZP-WP plugin to replace it ASAP.

Anyway, zenphoto development has been very active recently. You can all thank Todd Papaioannou for his hard work on drag-n-drop sorting. Take a look at his posts describing the new features on his site. I think I can improve the interface a bit, but the functionality is all there and working beautifully.

We’re planning on a release early next week with sorting, image and album deletion in the control panel, e-mail comment notification, and possibly RSS as well. Keep checking (...)