Zenphoto requirements

It was with great interest that we read the following announcement from the people at Wordpress: Are You Ready for WordPress 3.2?

Zenphoto has long recommended similar requirements for its installations. Now, however, I think that the handwriting is on the wall. We no longer test in the older PHP and MySQL environments and certainly we will drop their support entirely in the future. Now is the time to prepare your site for this future.

 We have just released Zenphoto 1.4.1, so there will be a reasonable window for you to get ready. Zenphoto 1.4.2 is currently targeted for the end of the year. The decision has not yet been finalized. However, there is some unnecessary overhead on Zenphoto to continue to provide for these ancient versions of PHP and MySQL. All will benefit when they are gone.

If you are an (...)


Zenphoto is a minor bugfix release of the recent 1.4.1 branch.

As usual we recommend all users upgrade for the latest updates and fixes. See the changes on trac for more information.


Collects output of the 'theme_head' filters, parses it into js, css, and other items. CSS or JS files with duplicate base names are reduced to just the first instance. (Paths are ignored.) In-line js is consolidated into one tag.

This is intended as an example of how one might process the output from the 'theme_head' filters.

[Note: this processing takes 0.02 seconds on my test system loading the Garland theme with reasonable collection of plugins. So it may not be appropriate to use it from a performance perspective.]

Issue with 1.4.1 installs

Sadly our package generator script created a small error that results in sites not working and logins failing. We will try to get a new package up soon. But for now you can either update directly from the trunk svn stream or just fix it easily yourself. 

The file in question is in /zp-core/version.php. This file contains a empty first line. Open it via FTP and just remove that line and all should work again (Encountered and tried successfully on our own site).

We are sorry for the inconvenience!

Update: The package has been fixed. You can re-download and re-install to fix the issue, or follow the step above. The only change was the fix to the version.php file. Thanks for your patience.

Zenphoto 1.4.1

  • New theme added as official: Garland [sbillard, acrylian]
  • Object model improvements [sbillard, acrylian]
  • Performance improvements [sbillard]
  • tinyURL for short URLs introduced [sbillard]
  • Managed album subright for viewing unpublished images [sbillard]
  • Option to obscure cached filenames [sbillard]
  • Plugins
    • sitemap_extended reworked for performance (Note: Behaviour/usage changes) [acrylian, sbillard]
    • tweet_news [sbillard]
    • Federated Logon--logon to Zenphoto with your Google, Yahoo, etc. Open ID [sbillard]
    • ClassAnyfile and ClassWEBDocs support for more file formats [sbillard]
    • Admin-approval--Publish allowed only by user with full rights or manage rights [sbillard]
    • Email-newuser--Sends user e-mail when his credentials are created [sbillard]
    • user (...)


HTML5Media plugin for video and audio handling for Zenphoto built from class-textobject.


This plugin gives Zenphoto something resembling the Flickr "photostream" functionality, displaying all recent images over a series of pages, no matter what album they belong to.


A list of cookies Zenphoto uses by default (you can also switch to use sessions)

used in the Effervescence+ theme if the Simpleviewer flash mode is selected
stores the upload method like http upload or multifile flash upload on the backend
stores the language selection
stores the zenphoto user login credentials
stores guest user gallery access credentias
stores guest user search access credentials
stores guest user image item access credentials
stores guest user album item access credentials
stores guest user category item access credentials
stores guest user page item access credentials
user login expiry setting
stores the view image sizes if using the viewer_size_images plugin
stores search parameters of the most recent search
stores the setting for the nested album list (...)

Back to top

This plugin prints a "Back To Top" link at the right buttom of your blog section. Of course you have to use the Zenpage plugin. The link will only be printed on the "news.php" and "pages.php" 


How to create custom TinyMCE configurations

  1. In the root plugins folder create a new folder called tinymce4
  2. Inside the new tinymce4 folder create a new folder called config
  3. Go to zp-core/zp-extensions/tinymce4/config and copy any or all of the existing config files to get you started.
  4. Note there are slight differences between config files for gallery items, Zenpage CMS items and comments.
  5. Place the copied files in your new /plugins/tinymce4/config/ folder
  6. Rename your copied config file(s) to something unique for each file, e.g. add a prefix like "my_" or anything else you wish to use.
  7. Open the new renamed config file and ensure the first javascript line is pointing to the correct location of the normal tinymce.min.js file, by default this should be <script type="text/javascript" src="<?php echo WEBPATH . "/" . ZENFOLDER . "/" . PLUGIN_FOLDER; ?>/tinymce4/tinymce.min.js"></script>
  8. Make any further edits you (...)