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)
- /backup/ – stores the database backup made with the backup utility
- /cache/ – stores all the cached images
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):
- yourdomain.com/<albumname>/<imagename.suffix><mod_rewrite suffix e.g .html (optional)>
- Link to a tag:
- Date archive link:
- Static custom page:
More info and download of the theme by adamus04:
Or view some screenshots first:
A tribute to the Gallery project Jun 30, 2014
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 (...)