News

Zenphoto 1.2.6 Released

We're pleased to announce the release of version 1.2.6. This release includes usual bug fixes and improvements, as well as improvements to the plugin architecture, full-sized image rotation, and more. See the changelog for more information.

Download 1.2.6 on the Home page

Zenphoto 1.2.6 RC2 ready for testing

We have just relased release candidate 2 of 1.2.6. Please test it thoroughly and report any bugs on trac as usual.


Download links: Zenphoto 1.2.6 RC2 (tar.gz) or (zip)


The changelog is still found here: Version 1.2.6 (RC1)

Zenphoto 1.2.6 RC1

The RC1 of 1.2.6 has been released for testing. You can download it here:

1.2.6 RC1 (Zip) or (Tar.gz)

Please note:With 1.2.6 Zenphoto raises its requirements! It now requires PHP 4.4.8 or above and MySQL 4 or above (PHP5+ or MySQL 5+ recommended). It still may work on older versions but we are not able to test or support those anymore.

Additionally, the version number of all distributed official plugins and themes now has been changed to reflect the release package version, in this case of course 1.2.6.

  • PHP5 error trapping (on PHP5 servers) [sbillard]
  • Image rotation for full images [sbillard]
  • Individual watermarks for albums [sbillard]
  • Resized images are left in their original type rather than converted to JPEG [sbillard]
  • Setup provides (...)

Developer coding guidelines

Coding Style

Zenphoto code follows some basic style guidelines. We essentially use the 1TBS variant of the K&R notation C-code syntax, for example:

function foo($bar) {
 if ($bar == 2) {
   return $bar;
 } else if ($bar < 2) {
   while($bar < 2) {
     echo $bar;
     $bar++;
   }
 }
}

This is a fairly standard formatting for PHP code and makes things nice and readable.

A few guidelines for coding in general:
  • Use generalization and abstraction. DRY! (Don't Repeat Yourself).
  • Keep it simple - if something seems too complex it probably is.
  • Keep efficiency in mind - try not to put filesystem operations in nested loops for example.
  • Write clean code! Make things readable and understandable.
  • Comment your code so that others can understand it. Remember we are open source. For function comments we generaly follow the  (...)

Zenphoto 1.2.5 Out

The final version of Zenphoto 1.2.5 is out and ready. See the full changelog in the 1.2.5 post below, and download from the usual place on the front page. The SVN repository is tagged as well for those of you using that method.

Zenphoto 1.2.5 RC2 Ready to Test

We have another RC for 1.2.5 out and ready to test. Please test it thoroughly and report any bugs on trac as usual.

Download links:

Zenphoto 1.2.5 RC2 (tar.gz) or (zip)

In addition, the svn trunk has been tagged at https://www.zenphoto.org/svn/tags/1.2.5_RC2

The changelog for 1.2.5 will continue to be updated as the RC's are released, and the full set of changes can be seen on Trac.

Zenphoto 1.2.5 RC1 Out for Testing

For the 1.2.5 release, we've decided to encourage more testing and community involvement by releasing a Release Candidate build one to two weeks before the final release. We hope this is convenient and allows you to easily test new features and give us feedback without dealing with the nightly packages.

The release can be downloaded here:

Zenphoto 1.2.5_RC1 (tar.gz) or (Zip)

As with any testing release, this is not recommended for installation on production systems and should be used for testing only. However we do encourage you to try it out if you're interested and we don't forsee any drastic issues.

Please issue bug reports on Trac or discuss features on the forums. Thanks for your help!

Zenphoto 1.2.5

  • Exifer libary fixes [Special thanks to bharat of the Menalto Gallery team]
  • Additional filters [sbillard]
  • Options for gray images [sbillard]
  • jQuery datepicker for date fields [sbillard, acrylian]
  • RSS improvements [acrylian]
  • ngettext() now used for plurals translations [sbillard]
  • Plugin to allow cropping of images [sbillard]
  • Admin backend improvements [sbillard, acrylian]
  • Search improvements [sbillard]
  • Cookie/session handling improvemens [sbillard]
  • Implemention of Uploadify multi file upload [sbillard, acrylian]
  • Plugins
    • Rating plugin now jQueryfied [sbillard]
    • print_album_menu (...)

Danish translation

Back on Trac

Trac is now back up! Registration and logins are now working as before, with no changes to passwords or usernames. Everything should work normally. Let us know if you have any trouble logging in or submitting tickets.

I'd also like to credit Acrylian with the witty pun for the title of this post. Some other notable ones include: "Any progress following the trac?" and "On the wrong trac then?", and my favorite, "Star Trac: Where no user has gone before." This is how he motivates me to fix things.