News
Zenphotopress is a plugin for WordPress. It is designed to provide an easy way to include Zenphoto images into your blog posts.
There is a forum post regarding (…)
A Wordpress 2.2.3 widget that shows the latest additions to Zenphoto in the sidebar.
This is an extension for Wordpress to integrate Zenphoto into your Wordpress installation. It required ZenPhoto installed on the same server and very easy to install (thanks to Wordpress easy plug-in system).
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 (…)