Lighttpd Rewrite Rules Oct 11, 2014
Zenphoto rewrite rules for Lighttpd works similarly to NGINX rewrite rules. Most URL resources are passed directly to index.php for processing.
keyboardnav-extended Oct 01, 2014
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 Sep 12, 2014
Path constants Sep 10, 2014
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.
- /albums/ – stores all albums and images. If you use a custom name it of course stores that name.
- http(s)://yourdomain.com/albums/ – full webpath to the /albums folder
- /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)
New 3rd party theme "Paradigm" Sep 05, 2014
A new responsive theme based on Bootstrap by Olivier Ffrench: http://www.zenphoto.org/theme/paradigm/index.jpg.html
Blog post about moving from Gallery3 to Zenphoto Aug 16, 2014
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) Aug 08, 2014
A short two part tutorial in Polish covering theme based translation:
Scriptless socialsharing Jul 21, 2014
A plugin that provides scriptless and privacy friendly sharing buttons for
- Whatsapp (iOS only)
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 Jul 16, 2014
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 index:
- Gallery index, several pages:
- Album (thumbnail page):
- Album, several pages:
- Sub album (similar for more levels):
- Image page (sized image):