Mel, I didn't integrate this with Wordpress, but these are the steps I took to integrate with my existing site.
The general concept I used was to take an existing page on my site to use as the basis for the template and insert the zenphoto code where I wanted the gallery to appear.
1. Create a new theme for your gallery:
- under the Themes folder, create a new folder for your theme and copy all the files from the default theme folder into it.
- Copy an html (or other) existing page from your current site into your new theme's folder. (call it index.html for this example)
2. Replace index.php, album.php, and image.php with new versions using your index.html page as the starting point.
- open your index.html file in an editor and copy the following code from the <head> section of index.php to the <head> section of your index.html file:
`<link rel="stylesheet" href="<?=$_zp_themeroot ?>/zen.css" type="text/css" />
<?php zenJavascript(); ?>`
- copy all of the code inside <div id="main"> from the index.php file into your index.html file wherever you want the list of photo albums to appear.
- save your index.html file as index.php in your theme's folder (replacing the original that you copied from the default theme.
- repeat that process to create new versions of album.php and image.php
3. Update Styles and Modify php code as desired:
- modify the styles in zen.css however you like to match the colors, etc of your site.
- Modify the php code in index.php, album.php, and image.php to show/hide/change comments, title's navigation, etc if you want to change the defaults. I made some minor changes to my gallery such as hiding the commenting section, not displaying the image names, etc.
That's it. It's pretty flexible. Let me know if you have additional questions...
Greg