News

3rd party Lightroom Publishing Service update for Lightroom 5

Ralf Kerkhoff has updated the Lightroom Publishing Service plugin that hasn't been updated for almost two years to work with Lightroom 5. You find it on his site (German) and he also posted about it on the forum in English.

Lighttpd Rewrite Rules

Zenphoto rewrite rules for Lighttpd works similarly to NGINX rewrite rules. Most URL resources are passed directly to index.php for processing.

keyboardnav-extended

A Zenphoto plugin for keyboard navigation using the left/right arrows for gallery/album pages, single image pages, news index/categories and single news articles pages. On single image pages the up arrow key also takes back to the album.

Note: This only works correctly with themes following the standard theme structure.

Inspired by Laurent Marineau's plugin http://www.zenphoto.org/news/keyboard-plugin though no adaption.

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 URL's to actual items (albums, image, 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.
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 depends on the host)
BACKUPFOLDER
(...)

New 3rd party theme "Paradigm"

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

index-standard-size

 

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
  • Xing
  • Reddit
  • Stumbleupon
  • Tumblr
  • Whatsapp (iOS only)
  • Digg
  • Livejournal
  • Buffer
  • Delicious
  • Evernote
  • WordPress(.com)
  • Pocket
  • E-Mail

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):
(...)