hi affa
i did this ala ruzee's method.
http://www.ruzee.com/blog/2006/06/integrating-zenphoto-into-wordpress/
I pull in the wordpress header/sidebar and footer on my zenphoto pages.
I use the Zenpressed plug in to get zenphoto images into wordpress posts.
I only wrote some custom code to go back from a wordpress post to the corresponding image in zenphoto.
actually at the moment i am working on my theme to get ridd of wordpress because I only used wordpress to get some posts sorted by date and categorie, but this can since zenphoto evolved so much in the last year also be done in zenphoto; dynamic albumpages with a special layout that have a focus on text. so when an image is gets tagged as 'news in category x' this dynamic album will show all these messages
underneath is the structure of my index.album and image pages as I use them now:
`
<?php
require($_SERVER['DOCUMENT_ROOT'].'/wordpress/wp-blog-header.php');
function addcss() {
global $_zp_themeroot;
echo '<link rel="stylesheet" href="'.$_zp_themeroot.'/zen.css" type="text/css" />';
}
add_action('wp_head', 'addcss') ; // add the zen css to the wordpress header
if (!defined('WEBPATH')) die(); $firstPageImages = normalizeColumns('2', '6');
require_once ('customfunctions.php');
zenJavascript();
get_header();// places wordpress header
?>
<!-- put all the links to neeeded scripts and stylesheets depending on what the theme needs (look in the original theme files for what these are)here, this differs for the image/index/album page. -->`
`
<script type="text/javascript" src="<?php echo FULLWEBPATH . "/" . ZENFOLDER ?>/plugins/rating/rating.js"></script>
``
<?php printAdminToolbox(); // places the zenphoto admin tab ?>`
`
<!-- put all the zenphoto functions for the index,iamge,album page here. -->
`
`
<?php get_sidebar(); // places the wordpress sidebar ?>
<?php get_footer(); // places the wordpress footer ?>
`