News

3rd party themes zpArdoise and I-feel-dirty get update for 1.4.5

vincent3569 – by the way is official French translator from 1.4.5 on – has updated two of his themes for Zenphoto 1.4.5. 

More info: 

 

 

macroList

Note: The example macros in this text contain a space after the first and before the last bracket. This is to avoid them being executed. On real usages there should be none.

Macros are "delcared" by filters registered to the content_macro filter. The filter should add its macros to the array passed and return the result. A macro is defined by an array element. The index of the array element is the macro name.

Note: the plugin should be active both on THEMES to provide the function and on the ADMIN pages to provide the macro documentation.

The content of the array is as follows:

  1. "class" => macro class, see below.
  2. "params" => An array of parameter types. Append an * if the parameter may be omitted. The types allowed are:
    • "string": may be enclosed in quotation marks when the macro is invoked. The quotes are stripped before the macro is processed.
    • "int": a number
    • "bool": true or false
    • (...)

rewriteTokens

This plugin will edit the tokens in the zp-data/zenphoto.cfg file

 

rss

This plugin handles RSS feeds.

 

elFinder

The Admin upload/files tab and the TinyMCE file browser (if configured) use a plugin to supply file handling and uploading. This plugin supplies file handling using elFinder by Studio-42 .


"elFinder is a file manager for web, similar to that you use on your computer. Written in JavaScript using jQuery UI, it just work's in any modern browser. Its creation is inspired by simplicity and convenience of the Finder.app program used in Mac OS X."

elFinder uses UNIX command line utils zip, unzip, rar, unrar, tar, gzip, bzip2, and 7za for archives support, on windows you need to have full cygwin support in your webserver environment.

 

exampleMacros

Declares example macros

 

Zenphoto 1.4.5

General

  • Zenphoto is now release under the license GPL v2 or later (before: GPL v2 onlyto be compatible with GPL v3 which a lot 3rd party tools use nowadays.
  • All themes and the backend are now defined as HTML5 doctype to assure compatibility with newer and future 3rd party tools we adapt. Although the new semantic HTML5 elements may not be used yet and we still use the compatible XHTML syntax in many places. Slow work in progress so to speak. [sbillard, acrylian]
  • Zenphoto uses jQuery 1.9.1 and jQuery UI 1.9.1 which is as ususal loaded on themes. Since jQuery 1.9 removed some functions older jQuery based tools may break. You find info about those changes and a jQuery migrate plugin to workaround here: http://jquery.com/upgrade-guide/1.9.
  • Themes may now (...)

Russian translation

Zenphoto image metadata processing

Whenever a new image is discovered Zenphoto attempts to populate certain object properties from the metadata associated with the image. Images may contain both EXIF and IPTC metadata. Zenphoto uses the formal specifications for these metadata to determine which object properties are set:

NOTE: populating Zenphoto object properties is in addition to storing the EXIF and IPTC fields in the object. It is a service to try to populate commonly used properties from the image data.

Often multiple metadata fields will map onto a single property. In this case Zenphoto applies a precedence order to the metadata, using the highest precedence field discovered. This may cause unfortunate (...)

Migrating Zenphoto to Piwigo

A small script and tutorial how to migrate images/albums.