Adding third party features to Zenphoto Nov 03, 2009 / Updated: May 18, 2013
In addition to theming, Zenphoto has a plugin architecture that lets third party developers add capability to the Gallery. In addition many of the standard features can be enhanced by the addition of specific files. As from Zenphoto release 1.2.7 we have separated as much as possible the standard Zenphoto files and scripts from ones that are otherwise provided.
As in the past, new themes can be added as folders in the root themes folder. With release 1.2.7 the plugins folder has been moved into the root. It is entirely for third party extensions to Zenphoto. Zenphoto standard plugins now reside in the zp-core/zp-extensions folder. You can now remove a few root files, the zp-core folder, and the theme folders of Zenphoto distributed themes prior to uploading a new version and insure that your new install will not contain any legacy Zenphoto scripts.
There are several folders included in the plugins folder for adding to Zenphoto standard features. These are:
- effenberger_effects -- the folder where the effenberger_effects plugin effects scripts are stored. (We have not provides these scripts based on licensing restrictions. You can download them and place them in this folder and they will be available to the plugin. See the plugin description for details.)
- flvplayer -- Also due to licensing restrictions you will have to download the flvplayer support files and place them in this folder. (See the plugin description for details.)
- gd_fonts -- Captcha and the text-watermark plugin can make use of custom fonts. You can add to the repetoir of fonts available by placing them in this folder. You can download gd_fonts from http://www.devtrolls.com/gdf_fonts/fonts.html
- watermarks -- Place images you wish to use for watermarking in this folder.
This work by www.zenphoto.org is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.