News

FEATURED

Zenphoto 1.4.6

General

  • New template functions getHeadTitle() / printHeadTitle() to for usage within/for the HTML page's head <title></title> [acrylian]
  • Improved 404 handling [sbillard]
  • imagick options to hint image sizes to better utilize server memory. [yaourt]
  • Various HTML validation issues on the backend corrected [acrylian, sbillard, sphoto]
  • New options for search pattern matching [sbillard]
  • Plugins may now "declare" deprecated functions. [sbillard]
  • Bulk options and edit links for images on the images order tab [sbillard, acrylian]
  • Backend pages now warn about possible unsaved data in forms if you try to leave a page [sbillard]
  • If you are using plugins with content macros that generate html, a conflict with TinyMCE's automatically wrapping everything using paragraphs could occur. Zenphoto now (...)

3rd party plugin ThumbsZoom update for 1.4.6

Antonio Ranesi has updated his ThumbsZoom plugin to finally be compatible with Zenphoto 1.4.6.

Path constants

Zenphoto uses several path related constants internally you should always use these if you work with paths so your themes and plugins are safe for any possible name changes. These constants are defined in /zp-core/global-definitions.php.

For all urls to actual items (albums, image, Zenpage news and pages) you should rather use Zenphoto's object model framework or the related template functions.

ALBUMFOLDER
/albums/ – stores all albums and images. If you use a custom name it of course stores that name.
BACKUPFOLDER
/backup/ – stores the database backup made using the backup utility
ALBUM_FOLDER_WEBPATH
http(s)://yourdomain.com/albums/ – full webpath to the /albums folder
ALBUM_FOLDER_SERVERPATH
/var/www/html/zenphoto/albums/ – The path to the albums folder but with the full server path if you installed in a subfolder "zenphoto" (exact path naturally depends on the host)
BACKUPFOLDER
/backup/ – stores the database backup made using the backup utility
BACKUPFOLDER
/backup/ (...)

New 3rd party theme "Paradigm"

A new responsive theme based on Bootstrap by Olivier Ffrenchhttp://www.zenphoto.org/theme/paradigm/index.jpg.html 

index

 

Blog post about moving from Gallery3 to Zenphoto

Our user Mark Headrick has written a lengthly post about his personal migration process to Zenphoto: http://blog.markheadrick.com/2014/08/15/galleries-moved-from-gallery-to-zenphoto-platform/

Translation tutorial in Polish (Third party)

A short two part tutorial in Polish covering theme based translation: 
http://www.bpabak.pl/motywy-2 

Scriptless socialsharing

A plugin that provides scriptless and privacy friendly sharing buttons for Facebook, Twitter, Google+, Pinterest, Linkedin and Xing. You can enable them on the plugin options.

To have it work correctly you should to enable the html_meta_tags plugin and the Open Graph (og:) meta data elements.

Zenphoto URL structure

Zenphoto has a specific URL structure for all front end items we explain here. We recommend to use mod_rewrite but Zenphoto works without it as well. The examples assume Zenphoto has been installed in the root of a domain.

Mod_rewrite links (SEO friendly)

The URL's are not completly rewritten via mod_rewrite/htaccess but internally. Therefore some parts can be changed via the rewriteToken plugin.

Gallery
Gallery index:
yourdomain.com
Gallery index, several pages:
yourdomain.com/page/<pagenumber>
Album (thumbnail page):
yourdomain.com/<albumname>/
Album, several pages:
yourdomain.com/<albumname>/page/<pagenumber>
Sub album (similar for more levels):
yourdomain.com/<albumname/subalbum>/
Image page (sized image):
yourdomain.com/<albumname>/<imagename.suffix><mod_rewrite suffix e.g .html (optional)>
Link to a tag:
yourdomain.com/page/search/tags/<tagname>
Date archive link:
yourdomain.com/page/archive/<YYYY-MM>
Static custom page:
(...)

3rdp party theme zpBSH gets update for Zenphoto 1.4.6

More info and download of the theme by adamus04
http://www.bpabak.pl/download/viewcategory/3-zenphoto

Or view some screenshots first:
http://www.zenphoto.org/theme/zpBSH/index.jpg.html

A tribute to the Gallery project

We just learned about the sad news that the Gallery project is going into hibernation after over 14 years. The Gallery project was one or possibly the first great solution for self hosted gallery websites in 2000. It defined the category of "web image galleries" and was there for years already when Zenphoto was started. Back in 2005 Zenphoto founder Tristan Harward noted on his development announcement:

I have a vision of what the final product will be like I imagine it with the simplicty and flexibility of PhotoStack, the user interface innovations of flickr, the power of Gallery, and the interactivity of WordPress all rolled into one great app that should be a joy to use.

Although Zenphoto started as an alternative to existing systems like Gallery therefore, we never felt being actual "competitors". Just like with our (...)