I used the third option in acrylians link (ruzee.com), and it worked great with latest builds of wp and zp. The benefit of following this method is that you don't have to re-style your ZP-theme that much to make it look like your WP-theme. The process of implementation is really simple, you just have to change your ZP theme.
My result is at http://jonasgran.com/bilder/asia/boracay/DSC_0049.jpg/vis which is still a work in progress (direct link to photo because you probably don't know norwegian)..
I tweaked it a tiny bit, so that the title from my ZP would work aswell. So I'll just leave the code I used below if anyone want it.
You basically just replace the header and footer in your ZP-theme index.php, album.php etc with the code below, then adjust your css if anything looks weird - check the ruzee.com tutorial. The second line needs to be changed to YOUR wordpress folder, my installation is in /wordpress/.
CODE:
`
<?php if (!defined('WEBPATH')) die(); ?>
<?php require($_SERVER['DOCUMENT_ROOT'].'/wordpress/wp-blog-header.php'); ?>
<?php
// add the zen css to the wordpress header
function addcss() {
global $_zp_themeroot;
echo '<link rel="stylesheet" href="'.$_zp_themeroot.'/zen.css" type="text/css" />';
}
add_action('wp_head', 'addcss');
function addtitle() {
echo getBareAlbumTitle().' «';
}
add_action('wp_title', 'addtitle');
?>
<?php get_header(); ?>
<?php db_connect(); // reconnect to zenphoto db ?>
`
HERE YOU PUT ALL YOUR ZP THEME CONTENT, TYPICALLY STARTING FROM <div id=content>
AND THEN AT THE BOTTOM, JUST ADD THIS:
`
<?php $wpdb->select(DB_NAME); // reconnect wordpress db ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
`