News
Features:
Retrieves images from the gallery based on the image filename. So you can move the image around between albums, move the parent album around, or whatever and not have to change the old thumbnail link. (…)
I have created this hack to cater to people who wish to provide a custom login for users which will take them directly to the albums they are allowed to view and/or administrate. This need was suggested on the forums in the thread Linking my (…)
Put the file in your zenphoto/zp-core/random.php
To call from another PHP
@readfile('http://yourgallery.com/zenphoto/zp-core/random.php?
num=9&height=50&width=50&class=one-image')
The above mean return 9 random images (…)
The idea is to group together in the same rss entry all the photos that have been added at the same time in the same album. Photos are browsed by decreasing mtime (=upload date, because id doesn't seem to be very reliable), and every time the (…)
a. Reduce load on the DB server
This is based on the caching technique described on https://www.zenphoto.org/2008/01/hacks/ We'll use eAccelerator shm cache instead of storing the query results on disk.
1. Edit the functions-db.php (…)
Database result cache
As we know, the database will use many resource and time to query the information of Image. If we want to save time, we could do optimization with cache the result.
What I use is two functions, you could use (…)
As per yahoo! optimization guidelines http://developer.yahoo.com/yslow/ for making Zenphoto faster at client-side, here are some hacks.
FIRST: Edit .htaccsss file and (…)
This script grabs the photos and meta data and creates albums in Zenphoto and entries in the appropriate tables.
A tutorial from 2008 to migrated from the autogallery plugin of the CMS e107 (…)
A very basic script in Perl that will copy over Metadata from Coppermine to Zenphoto. The data is keyed on filename, so it is assumed that you have unique filenames in your albums.