News

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 rules:
  • Spaces should be used liberally. Eg: if($x == 2 || $y == 3) and not if($x==2||$y==3).
  • Indentation should be hard tabs, not space-emulated tabs.
  • Always use variable and function names that make sense and are self explanatory. Eg: $album_name and not $n
    • $underscored_variable_names are preferred.
  • Global variables should always be named like $_zp_something (...)

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.

Icelandic translation

Trac Down

Trac is unfortunately down while I work out some bugs from an upgrade. On the plus side, the server is now running the latest and greatest of all the backend software. If you've got urgent bug reports, you can use the forums to bring them to our attention, or wait a couple days and Trac should be back up and working as normal. Thanks for your patience.

Update: Trac is now back up! Feel free to login or register and submit those bugs you've been waiting to tell us about.