News

Zenphoto 1.0.6

  • Bug: image sorting within albums fixed (getImageId() not found error). [trisweb]
  • Bug: image dimensions are now cached in the database again (no functional difference, but much faster). [trisweb]
  • Changed the default RewriteBase in .htaccess to /zenphoto to correspond with the default folder in the package. [trisweb]
  • Now detects changed images and reprocesses them if the cached versions are old. [trisweb]
  • When an image cannot be found/loaded, an error image is shown instead of no image (passing i.php?...&debug disables this and shows the error output) [trisweb]
  • Other minor bugfixes and code cleanups.

Zenphoto 1.0.5 Released

Just in case you don’t check the home page or forums, zenphoto 1.0.5 has been released with a ton of fixes (since 1.0.3). 1.0.5 was a quick fix for an overlooked little problem, all the real meat was in 1.0.4.

Big changes include:

  • Performance Improvements — lazy evaluation and some smart algorithms to sort the image array out of the database contribute to up to 12 times faster page processing in albums with lots of images.
  • Database Generalization — all data storage has been abstracted to a PersistentObject class, which the Image and Album classes inherit from. This reduces specific database calls, groups them together, and allows for easy addition of new classes and new database systems later on. This is a Good Thing.
  • New Themes included — I’ve included three new themes with the default release: Default Dark, Stoppeddesign, and Sterile. More choices! Yay.

The other big change of course I am not advertizing, since it’s not fully implemented yet, and that is sub-albums. The code now supports them. However, the interface for managing them is still under development. You can download the sub-albums testing theme if you don’t mind the incompleteness just to see how it works, but don’t expect much yet.

Also, there’s a big problem with sorting images in this release. See this thread for more (...)

Zenphoto 1.0.5

  • 1.0.4 was littered with PHP short tags by accident (an SVN reversion somehow happened), now fixed. [trisweb]
  • No other changes.

Relevant links:

  • trisweb.com - Zenphoto 1.0.5 Released

 

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 it out! Admin control and paging yet to be done. [trisweb]
  • Three new themes included: "Default Dark" and "Sterile" by Levi Buzolic, and "Stoppeddesign" by Ben Spicer.

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 zenphoto.org 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 know more about how it works, check out this wiki article I wrote.

Now that this release is out, we should be able to ride it for a while and work on more than just fixing bugs; we’ll work on features like subalbums, for example. :-) Another thing to look forward to: some amazing speed improvements. I guess that’s what you get when you’re slightly detail-obsessive and (...)

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 (wiki.zenphoto.org)

The Zenphoto Bugtracker (bugs.zenphoto.org)

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 zenphoto.org 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 access path when using mod_rewrite, eg: you can’t access the same gallery from trisweb.com/photos and photos.trisweb.com).

So there are some good security fixes (go upgrade now if you haven’t yet), and lots of improvements. This should be a very stable and generally good release. Enjoy!

 

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:

hm_badge1

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]