Steffen Hi, the name's Steffen and I'm writing about the Web, programming and all those things coming to my mind. Enjoy your stay.

I'm currently working on fabidoo.com - 3D Printing for everyone!

Integrating zenphoto into WordPress

If you have a blog based on WordPress and you want to integrate zenphoto into that, you do that by creating a zenphoto theme that is based on your WordPress theme. I did that with my gallery and here’s a description on how I did that.

In the zenphoto installation directory, there’s a themes folder. Use one of these themes as a basis for your WordPress-like zenphoto theme by simply copying and renaming it and then activating it in zenphoto. A theme basically consists of its CSS, and the files index.php (the albumbs overview), album.php (an album with thumbnails), and image.php (for one single image). All these php files need to be touched in a similar way. I’ll explain it for index.php.

The first line in index.php is

<?php if (!defined('WEBPATH')) die(); ?>

Keep that one - never remove it. After that line, add the following one to import all WordPress functions (and replace “/blog/” in the URL with the installation directory of WordPress in your web root):

<?php require($_SERVER['DOCUMENT_ROOT'].’/blog/wp-blog-header.php’); ?>

After this line, we tell the WordPress theme to include the CSS of the zenphoto theme:

<?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');
?>

Now, remove all stuff from DOCTYPE to the “main” DIV and replace it by the header code of your blog:

<?php get_header(); ?>
...

Simply copy&paste all necessary code from your existing WordPress theme up to the beginning of the “content” DIV. Don’t include the “main-loop” part of the WordPress theme - but leave the “main” DIV of the zenphoto theme as it is.
After the “main” DIV is closed, close the WordPress “content” DIV and add the sidebar and the footer from your existing WordPress theme:

<?php get_sidebar(); ?>
<?php get_footer(); ?>

If you have WordPress and zenphoto use the same database on your machine, then your done. If not, you have to add two more lines to switch between the two databases you use. You do that by putting

<?php db_connect(); // reconnect to zenphoto db ?>

right before the beginning of the “main” DIV and

<?php $wpdb->select(DB_NAME); // reconnect wordpress db ?>

right after the end of the “main” DIV.

The final index.php of your new zenphoto theme will then look like:

<?php if (!defined('WEBPATH')) die(); ?>
<?php require($_SERVER['DOCUMENT_ROOT'].’/blog/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’);
?>

<?php get_header(); ?>
<?php db_connect(); // reconnect to zenphoto db ?>

<div id=”content” class=”narrowcolumn”>
  <div id=”main”>
    put everything from the original zenphoto
    index.php “main” DIV here …
  </div>
</div>

<?php $wpdb->select(DB_NAME); // reconnect wordpress db ?>

<?php get_sidebar(); ?>
<?php get_footer(); ?>

Follow the same steps for album.php and image.php and you are done.

Tags: , ,

90 Responses to “Integrating zenphoto into WordPress”

  • 1
    Sebastian Says:

    HI Steffen, thanks for sharing this :-)
    I am going to try this out as soon as possible …. BTW have you thought of doing this the other way round ?? I am thinking about a wordpress plugin that includes the zenphoto pages instead of having a zenphoto skin importing all the Worpress stuff.

  • 2
    Steffen Says:

    Yeah, guess that’s also possible. But zenphoto includes it’s own URLs into the HTML and does some modrewrite stuff. Guess that’ll make things a bit complicated…

  • 3
    Photo Gallery Coming Soon » hwanch.com Says:

    [...] I decided on ZenPhoto for my picture album. The only problem is intergrating it into WordPressso that it has the same look and feel. I tried the advice written here, but it doesn’t work as nicely as I had hoped. I’m working on tweaking the coding around to make it work better. I should be done soon, and then i’ll upload pics, including the latest ones from Vegas.   « Open Source Rocks |   [...]

  • 4
    Dimiter Says:

    Useful article. Do you know how to add a zenphoto identifier? Some sort of variable or better, a conditional tag (like is_zenphoto() ) This is would give better control on the gallery template via the stadard wordpress includes.

  • 5
    Steffen Says:

    Dimiter, just check for the existence of a ZenPhoto global variable, e.g.

    global $_zp_gallery;
    if (isset($_zp_gallery)) {
      echo "zenphoto";
    } else {
      echo "WordPress";
    }
    
  • 6
    hip Says:

    Hi,

    Thanx for the ‘tutorial’. Nice & clear, and really usefull.

    Now my question. It may be beyond this post intention, but it’s 100% related to this post title:

    Does any one know a way of integrating EACH picture and even EACH gallery in a single different WP post, so that each could get commented, RSS’d, rated,…

    I mean, as you can see, more of REAL integration rather than cosmetic (what’s not bad at all, for a start).

    Thanx and have a good day,
    hip

    (I’ll keep on searching around)

    BTW, you could add to the ’spam prevention failure comment’ the following:
    “Sorry, it seems you didn’t pass math!! OR you’ve cookies disabled”

    I’ve been feeling really stupid for a while, doublechecking a 4 + 6 addition. :-D

  • 7
    Jeremy Says:

    Seems like a great tutorial, but when I try this The page doesn’t load anything… According to w3c html validator the server closes without giving any information back. I’m sure I probably just missed something small. I’m very new to PHP and and just mediocre at CSS. Any help is appreciated. Here are the contents of my index.php:

    getCurrentTheme();
    $_zp_themeroot = WEBPATH . “/$themepath/$theme”;
    if (in_context(ZP_IMAGE)) {
    include(”$themepath/$theme/image.php”);
    } else if (in_context(ZP_ALBUM)) {
    include(”$themepath/$theme/album.php”);
    } else if (in_context(ZP_INDEX)) {
    include(”$themepath/$theme/index.php”);
    }
    ?>

    ‘, ”, ‘ ‘); ?>

    “>XHTML’); ?>
    Valid CSS
    XFN
    “>WordPress

    ” title=”View album: “>

    ” title=”View album: “>

    select(DB_NAME); // reconnect wordpress db ?>

  • 8
    Steffen Says:

    @hip: zenpress has some of the features you are missing… Oh, and I\’ve added that cookie warning - cheers for the hint!

    @Jeremy: No idea why this happens… How does your page look? Is it ok? Is just the validator borked? Strange is: On my page (e.g. http://www.ruzee.com/photos/) the W3C validator says \”404 not found\” - no clue what\’s causing that… Anyone else having similar problems?

  • 9
    Jeremy Says:

    Well I got it to load the page after much fiddling and checking another site with info on this. Now I just have to figure out why only works from template-functions.php and not from my themes index.php.

  • 10
    Steffen Says:

    Hmm. Is it right that you added the DB reconnection stuff into the zenphoto theme? The code looks pretty much mixed up. Maybe starting from the beginning might help… Sorry, can’t do much more based on the info I got…

  • 11
    A? » ZENPHOTO?WORDPRESS??????? Says:

    [...] ????WORDPRESS???????????????????? ZENPHOTO??????????????? ???????????? ????????????????? WORDPRESS??????????????????? ?????????????? http://www.ruzee.com/blog/2006/06/integrating-zenphoto-into-wordpress/ [...]

  • 12
    MikeKey Says:

    Hey man, this is an excellent write-up. I am really glad for it. This has made my ZenPhoto & Wordpress intergration very tight.

  • 13
    goatlip Says:

    Thanks!! worked like a charm! any ideas on login integration??

  • 14
    dudut » Blog Archive » Integrando zenphoto com Wordpress Says:

    [...] Faz algum tempo que eu vinha pensando em gastar umas horas para fazer a integrao do zenphoto com o Wordpress utilizando o tutorial do Steffen Rusitschka Integrating zenphoto into Wordpress. Era estranho olha o blog, abrir as galerias de fotos e ter um visual completamente diferente. Ficava a impresso de que era outro site. [...]

  • 15
    BeGe Web Says:

    [...] recommandations suivantes pour intégration dans Wordpress. [...]

  • 16
    Adam Graham Says:

    Thanks for this tutorial. It made my integration about a thousand times easier. My galleries aren’t live yet, but I now know that they can look the way I want them to. Thanks again.

  • 17
    WaxBrush » Integrating zenphoto into WordPress Says:

    [...] And if you want to build Zenphoto into wordpress there’s an excellent guide at ruzee.com. [...]

  • 18
    Corey Says:

    Think someone could help me? I cant seem to get the sidebar where it belongs!

  • 19
    Jelto Says:

    Hi, thanks for your tutorial.
    I made the change to my website and it’s good …
    well expect something, my header change a little bit after in Zenpress page.
    just have a look there:
    main page wordpress:
    http://www.jelto.net/blog/
    main page zenpress:
    http://www.jelto.net/blog/zp/
    so does anyone knows where i’ve to change something ? !
    Thanks.

  • 20
    Jelto » Essai Says:

    [...] En suivant les conseils de ruzee.com. Tags [...]

  • 21
    joshuasbones Says:

    What about zenJavascript();?

  • 22
    tom Says:

    Hi, This is great How-To! it worked perfektly for me.

    but maybe you could give me a hint, I’m trying to include my zenphoto gallery into the main navigation, like you did… but i really have no idea how.

    Is ist something like the links_to plugin? - or is there another way to do this?

    greetings

    tom

  • 23
    Steffen Says:

    @joshuasbones: ?

    @tom: well, in my case, it’s simply a relative static link: <a href=”/photos”>…</a>…

  • 24
    preckie Says:

    thanks a lot! worked for me! lotsa css editing though! how i wish someone would develop a plugin for this =)

  • 25
    Mas Says:

    I’ve tried this…. but REALLY having a hard time with the CSS adjustments… it is really not clear how to adjust the width of Zen Photos. Can you please assist?
    I am trying it at http://www.naijamd.com/photos
    Thanx again and have a good day

  • 26
    Thuer.com.ar » Pasen y vean: Nueva galera de fotos con Zenphoto | Comunicacin multimedia, diseo web y tecnologa Says:

    [...] La integracin con Wordpress no dio mucho trabajo y hay dos tutoriales muy buenos que ensean como hacerlo. El mtodo “oficial” del foro de soporte de Zenphoto y el publicado por Steffen Rusitschka en Ruzee.com. [...]

  • 27
    Steffen Says:

    @preckie, Mas: Yeah, I know, but a plugin is kind of hard to do unless both projects work together on this issue. Until then, the walk-through given is one possible solution - and yes, you need to know a bit about CSS, PHP, and stuff if you have a non-standard theme…

  • 28
    Sandro Says:

    Hi,
    great work you did, works perfekt on index.php BUT - neither on album.php nor image.php .

    I’ use the Zenphoto testin theme and tried nearly all possibilities. I also used different themes but I get a blank page I think at the point I paste []

    yes I changed my blog directory.
    Could somebody email me his album.php with a completely working get_header? Would be so great

    kontakt [at] sandrostark.de

  • 29
    0584 - » ?????? ??(bbpress) ???(zenphoto) ?? ?? Says:

    [...] http://www.ruzee.com/blog/2006/06/integrating-zenphoto-into-wordpress/ [...]

  • 30
    dremeda Says:

    @Sandro

    I am having the same problem, it worked fine on the index and image pages but I cannot get it to work on the album.php page, these are the results:

    http://www.dremeda.com/zenphoto/testing-2/

    If anyone has any ideas please let me know.

    Other than that this has been a great tool to integrate, I think once the bug is worked out this will look great!

  • 31
  • 32
    Darrell Says:

    Will this work with Wordpress theme, MX4? Or does it matter which theme I’m using?

  • 33
    Apostolos Dountsis » ZenPhoto Says:

    [...] I ended up sticking with ZenPhoto, an excellent piece of software that does the job with extreme elegance and simplicity. It is worth mentioning that ZenPhoto was granted an honorable mention in the Web2.0 Awards. It can be integrated easily with WordPress. I followed the instructions by Stephen to integrate my WordPress theme with ZenPhoto and now my photo albums look and feel as part of the web site. Zenphoto is an answer to lots of calls for an online gallery solution that just makes sense. After years of bloated software that does everything and your dishes, zenphoto just shows your photos, simply. It’s got all the functionality and “features” you need, and nothing you don’t. Where the old guys put in a bunch of modules and junk, we put a lot of thought. We hope you agree with our philosopy: simpler is better. Here are some of the wonderful things about it: [...]

  • 34
    apostolis Says:

    @ Darrell, No it does not matter which theme you are using.

  • 35
    enrico Says:

    Hi, … but where is the page wp-blog-header.php??? … usually the header wp theme is in wp-content/themes/my_name_theme/header.php

  • 36
    pwn3d » Blog Archive » Integrating zenphoto into WordPress - Steffen Rusitschka’s Place in the Web Says:

    [...] Integrating zenphoto into WordPress - Steffen Rusitschka’s Place in the Web [...]

  • 37
    felix Says:

    Thanks very much for the guide.

    After I’d followed the steps here there were a few differences in the header and sidebar on the zenphoto pages. I commented-out a few things in zen.css and everything looks as it should now (though I’m not sure if I should have done this…)

  • 38
    Alastair Says:

    Thanks for the code, much appreciated. However, there’s a zenJavascript function, possibly only in later versions of zenphoto, that sits in the head code of all zenphoto theme files. By overwriting with the wp header you effectively lose this… unless there’s a work-around?

  • 39
    Peter Says:

    After doing the modifications, when going to the zenphoto page I get a blank page.
    Any ideas on this?
    Thanks for any help you may be able to provide.

    Peter

  • 40
    Kungfubonanza Says:

    Alastair, I think have a solution for your problem.

    In album.php, index.php, and image.php, add the following line directly beneath the “add_action(’wp_head’, ‘addcss’);” line that Steffen tells you to put near the top of the file:

    add_action(’wp_head’, ‘zenJavascript’);

    This seems to work for me–I’m at least allowed to change album and photo descriptions the ajax way when logged in as the admin.

    I’m no WP expert, so If someone else has a better suggestion, I’d be glad to hear it.

    KFB

  • 41
    internet-photo-albums Says:

    Thanks for all of this info center that you have here:) It’s helps alot,

    Cool side:)

    Warmly,

    Thordur Mocan

  • 42
    Luigi Says:

    Your tecnique works perfectly….
    only it does not show the title of the page with wordpress when you are in the album or image.

    Why ?

  • 43
    mauma Says:

    Hi, the solution is good but i don’t know how insert the zenpress in my page.
    when i see the page of zenphoto is selected the voice “about” my first page in menu, but i want that show in page “Photo”

    Thanks

  • 44
    Kim Larsen Says:

    If the album and image doesn’t work, you probaby do not use the standard folder and need to correct the .htaccess file from “RewriteBase /zenphoto” to “RewriteBase /youralbum”.

  • 45
    갤러리를 달다 : ZZiRACi.COM Says:

    [...] Integrating zenphoto into WordPress 라는 포스트를 참고했다. 워드프레스에서 zenphoto를 불러오는 것이 아닌 zenphoto에서 워드프레스 테마를 불러오는 방법이다. 몇번 삽질하기는 했지만 다행히 성공해서 블로그에 갤러리를 달아놓았다. 중요한 건 페이지처럼 보이지만 사실은 단순한 링크 페이지라는거.. ^^;; [...]

  • 46
    Adam patterson Says:

    hey, thank you so much for this! i spent a tone of time looking for a gallery to replace the chunky gellery2 i was using, then i needed to stick zenphoto into workpress and i never liked the way WPG2 worked, this works GREAT!

    But, i get this error when viewing an image in the comment area: There was an error submitting your comment. Name, a valid e-mail address, and a comment are required.

    any ideas what could be causing this?

    thanks again.

  • 47
    Lars-Georg Says:

    I’v got the same error as Adam Patterson, anyone knows what to do??

  • 48
    Lars-Georg Says:

    As to my above message, this is now fixed. Just replace the isset ($error variable) to something like $FIXME

  • 49
    Jadawin Says:

    Hello Steffen and everyone,
    I used your tutorial to integrate zenphoto into my wordpress but I figured just a little thing that’s not working as you see in my space jadawin.netsons.org: the sidebar goes below the zenphoto…I tried also to float’em (float:left; for the zen.css and float:right; for the sidebar) so I shouldn’t worry about width but still remains below the zenphoto… what I should look at as you suggest? thanks in advance!

    P.S.: nice tutorial though! Bravo! :-)

    Ciao, Luigi

  • 50
    Andre Malheiro Says:

    hey ruzee,

    so far so good! it’s the only technique that works for my needs: to have zp and wp work side by side, with both hierarchies combined. zp gallery is supposed to be a a category within wp hierarchy. i set an apache redirect to point to the zp directory and voilá :) wp menus still work and i also have the gallery navigation working.

    i guess i’ll only need to fix the templates for all to work smoothly. if i succeed, i’ll let you know.

    cheers from rio de janeiro

  • 51
    Jadawin Says:

    Hello again… now it worked, don’t know how but now the sidebar goes left the content… just I guess I’ll have to fix some css to make it right… but there’s a bigger problem I think related to:

    because with IExplore it looks like header is completely messed up…. do you think is css problem or php problem?… Thanks in advance again! :)

    Ciao, Luigi

  • 52
    Alastair Mucklow Says:

    Hi… I’ve used this method of integration on Apache servers several times without any problems. However a friend of mine is using an IIS shared server, and the integration doesn’t work. I get this error message when trying to pull in the Wordpress functions:

    Warning: require() [function.require]: Unable to access \\n/wordpress/wp-blog-header.php in \\nas1.hosting.netcetera.co.uk\inetc710$\virtualservers68647\hand-embroidery.co.uk\NewWebsite\showcase\themes\handandlock\index.php on line 2

    Is this an IIS glitch or something to do with the server settings? Other non-integrated themes are working fine.

    Alastair

  • 53
    Alastair Mucklow Says:

    Hi again. It seems that IIS does not provide the environment variable DOCUMENT_ROOT, so the above integration method won’t work. UNLESS you do something to improvise. http://www.helicron.net/php/ suggests inserting the following code at the top of the script:

    However, this isn’t working for me - it’s a problem with the line that defines the $docroot variable. If I echo $docroot; I just get a blank screen. Can anyone unravel this for me? Would probably be useful to extend this integration for IIS users.

  • 54
    strangerpixel » Integrating Zenphoto with Wordpress on IIS Says:

    [...] integrating the two systems in order to implement your blog theme in your gallery or photo album. Ruzee’s method is the one I’ve been using. It’s a simple way of pulling your Wordpress functions into [...]

  • 55
    Dmitry Says:

    Hi Steffen,

    Very nice tutorial. But for some reason I’m having hard time to making it work.
    I’m using WP 2.1.3 and ZP 1.0.8

    After modifying all the pages, all I got is blank page…
    Any ideas on how to troubleshoot it?

    Thanks.

  • 56
    Dmitry Says:

    OK, today I have a bit of a progress…it’s not a blank page anymore…

    After uploading the modified files to the host, I’ve got this error:

    Fatal error: Cannot redeclare escape() (previously declared in /public_html/*******/artgallery/zen/functions-db.php:87)

    If I comment out escape function, then page will display fine.

    Any solutions?

  • 57
    ZenPhoto sorting hack : 徒然之書 The Void Notes Says:

    [...] 為什麼作者很忙 2. Zenphoto plugin for wordpress - ZenPress 3. Integrating ZenPhoto into WordPress 4. ZenPhoto not good enough? Flickr empire strikes [...]

  • 58
    Viitoria Says:

    Wow - great tutorial. Thank you!

  • 59
    Jeff U Says:

    Hi, I was wondering if anyone had any idea how to ‘fake’ this being a ‘page’ in wordpress… so things like is_page(’zenphoto’) would work in my wordpress theme? Any ideas?

  • 60
    tech.einaregilsson.com » Blog Archive » Integrating ZenPhoto into Wordpress Says:

    [...] ZenPhoto is a great image gallery written in php that I use on another page I have. It has a great admin interface and themes that are simple to use. I wanted to integrate it into a Wordpress blog so I looked around on the net and found a great article about it by a guy named Steffen Rusitschka. It explains how you can get your ZenPhoto gallery to look like your blog by including some Wordpress pages in your ZenPhoto theme. The article is at http://www.ruzee.com/blog/2006/06/integrating-zenphoto-into-wordpress/. [...]

  • 61
    Einar Egilsson Says:

    Excellent tutorial! I’ve just written a blog post on how to do even more based on this, what I’ve added is:

    1. Ability to make inline javascript work correctly
    2. Enable you to edit your zenphoto theme files in the Wordpress Theme Editor
    3. Small plugin to add a ZenPhoto admin link to your WP admin interface
    4. All files packaged up with easy installation instructions.

    I gave you credit and a link in my post and mentioned that you were the one to come up with this method. My post is at:

    http://tech.einaregilsson.com/2007/08/06/integrating-zenphoto-into-wordpress/

  • 62
    B e r t S i m o n s » Blog Archive » zenphoto Says:

    [...] this website is made with zenphoto and wordpress. if you are interested in how I combined these two check out this tutorial. [...]

  • 63
    B e r t S i m o n s » Blog Archive » howto insert your wordpress post in zenphoto Says:

    [...] I integrated zenphoto into wordpress using ruzee’s method. in image php, add this as [...]

  • 64
    bert Says:

    thanks for the tutorial

    This is how to click on a zenpress embedded image in wordpress and get the corresponding wordpress post title and content on your zen image page.

    first I integrated zenphoto into wordpress using ruzee’s method.
    in zenphoto image php, add this as php:

    $url = getFullimageurl() ;
    $url = str_replace(’/albums’,”,$url);
    $sql = “select post_content, ID, guid, post_title from wp_posts WHERE post_content LIKE ‘%”.$url.”%’”;
    $results = $wpdb->get_results($sql );
    foreach( $results as $result )
    {
    $zen_wpID[] = $result->ID;
    }
    for($x=0;$xpost_title;
    $zen_wpcontent = $post_id->post_content;
    $zen_wpguid = $post_id->guid;

    now you can put the wordpress content, title and a backlink to the post on your image page by putting $zen_wptitle etc you want it to appear in your zen image.php

  • 65
    Tracy Says:

    Thanks, great tutorial! I got it to work fine for the index.php page, but like Sandro and Dremeda earlier, I’m having a problem with the album.php page. When I click on the thumbnail to view the album, I only see a blank page.

    I’m testing zenphoto and wordpress locally with MAMP and they both reside in the root folder. I’m using a copy of the default theme and have tried changing the .htaccess file and config file to see if there’s a problem there.

    I wonder if you or someone knows any ideas.

  • 66
    strangerpixel » Integrating Zenphoto with Wordpress part 2 Says:

    [...] with integrating Zenphoto albums into a Wordpress blog. This is for anyone who has implemented Ruzee’s method and found that album and image links randomly trigger a 404 in Internet Explorer 6 and [...]

  • 67
    mtnet-online.de » Zenphoto in Wordpress integrieren Says:

    [...] Da ich ja nun zenphoto nutz, wollt ich das Script auch “nahtlos” in Wordpress integrieren und nach etwas googlen hab ich ein super HowTo gefunden. Link: http://www.ruzee.com/blog/2006/06/integrating-zenphoto-into-wordpress/ [...]

  • 68
    massimo fiorino Says:

    Great! Your tutorial is perfect working. I’ve just modified some CSS line to fit ZP in WP.
    Thanks

  • 69
    Adam Mershon Says:

    Great tutorial, Steffen! Thanks.

    Not sure if ZenPhoto has changed since you wrote this tutorial, but I was running into an issue with the Flash video javascripts not be included. Hence, broken videos. :)

    This should fix it though…

    Instead of using this to add just the css:

    <?php
    // add the zen css to the wordpress header
    function addcss() {
    global $_zp_themeroot;
    echo ”;
    }
    add_action(’wp_head’, ‘addcss’);
    ?>

    Use this to add the css and javascript to the header:

    <?php
    // add the zen css and javascript to the wordpress header
    function addcss() {
    global $_zp_themeroot;
    echo ”;
    printRSSHeaderLink(’Gallery’,'Gallery RSS’);
    zenJavascript();
    }
    add_action(’wp_head’, ‘addcss’);
    ?>

    Thanks again,
    Adam

  • 70
    Marcel Spijker Says:

    When i came across your method of integrating zen and wp i was full of joy.
    But when i tryed it it gaves me only a blank page when i go to the gallery.

    I use WP 3.2.1 and Zenphoto 1.1.3 I also use the standard theme from wordpress and for zp your theme.

    Is there an issue with your method and these versions? Or am i just doing something wrong?

    Although it didnt work for me (yet) i still want to thank you for coming up with this idea and share it with us!

  • 71
    Filipina Says:

    Hi, just wanted to say that was an interesting read. Great post!

  • 72
    Jim Mirkalami Says:

    I have been a frequent visitor of this blog for some time now, so I thought it would be a good idea to leave you with my thanks.

    Regards,
    Jim Mirkalami

  • 73
    Nick Prignano » Blog Archive » Integrating ZenPhoto into WordPress Says:

    [...] will run in parallel rather than in unison.  So I continued searching the web until I stumbled on this article from Ruzee.com on how the author integrated ZP into his own [...]

  • 74
    Adam Patterson Says:

    What happens when you want to include the Zenphoto Rss feed, as well as the javascript files that may be there?

  • 75
    Dan (future gadgets blog) Says:

    I like your blog theme. I want to use it on my blog.
    Can you please tell me from where I can download these theme?

    Many thanks

    ——————————————————————————–
    Dan owner of the future gadgets blog future gadgets and inventions

  • 76
    Jay Says:

    Thank you, thank you. Wonderful trick. Really works.

  • 77
    lip Says:

    thank you so much for this script, it integrates very well well with my page.

    Im having a CSS issue though, its where the wordpress sidebar is displayed with the H2,H3,H4,H5 from zenphoto’s CSS and those seem the only css styles being ported to the sidebar. is there a way i can call up the wp theme CSS right before on your code?

    thanks, and check out my site http://www.liveimagephoto.com zenphoto handles ALL images.

  • 78
    lip Says:

    sorry, forgot email. admin (at) liveimagephoto.com no spaces.

    although i managed to fix my problem by just not calling up wp-footer at all on the zenphoto gallery pages. is there anything u can figure out by this information? apparently its something with closing the footer but still displays the internal css of ZP on external WP pages. perhaps after the /div needs a php endif?

  • 79
    eddy Says:

    you shuld try using next gen gallery from wordpress website

  • 80
    linkbid Web Directory Says:

    The next gen gallery will do ok…..

  • 81
    Mohammed Says:

    Hi
    I just wanted to say thank you very much for this great tutorial..
    I’ve been searching for a way to do this weeks ago..
    By the way, integrating zen with wordpress is much better than using nexgen gallery plugin only, although nexgen gallery is good for simple galleries with small image sizes.

  • 82
    Hello Says:

    [...] I add a photo gallery to the site, using ZenPhoto 1.1 which is a create piece of software. Not only is it very easy to use but it has some great templates if it were being used as a standalone version. I had some trouble integrating zenphoto in wordpress but found a great plugin for single Sign-On of both wordpress and zenphoto. Thanks must also go to Steffen Rusitschka for his ‘Integrating zenphoto in wordpress’guide. [...]

  • 83
    g.olson Says:

    There are 3 kinds of people in this world.
    People that make things happen! :)
    People that watch things happen…and
    Those poor souls that wonder what happened
    http://www.thousanddollarprofits.com/103010

  • 84
    Jods Says:

    There’s sort of a problem here. zenphoto still isn’t being recognized by WordPress, so whenever someone views your gallery - they can see it just fine. However, a “silent” 404 error is being sent in the response headers. So spiders won’t index it.

    Response Headers - http://www.ruzee.com/photos/

    Date: Mon, 09 Jun 2008 04:29:55 GMT
    Server: Apache/2.2.3 (Ubuntu) PHP/5.2.1 mod_ssl/2.2.3 OpenSSL/0.9.8c
    X-Powered-By: PHP/5.2.1
    Set-Cookie: bb2_screener_=1212985795+68.145.216.220; path=/blog/
    X-Pingback: http://www.ruzee.com/blog/xmlrpc.php
    Expires: Wed, 11 Jan 1984 05:00:00 GMT
    Last-Modified: Mon, 09 Jun 2008 04:29:55 GMT
    Cache-Control: no-cache, must-revalidate, max-age=0
    Pragma: no-cache
    Keep-Alive: timeout=15, max=99
    Connection: Keep-Alive
    Transfer-Encoding: chunked
    Content-Type: text/html; charset=UTF-8

    404 Not Found

  • 85
    g.olson Says:

    If you suspect someone’s been lying to you about
    home business opportunities, guess what?
    You’re absolutely right! Get The Truth Here:
    http://ols387.grnteambuilder.com

  • 86
    hm Says:

    hey!
    a question, does anyone get this message when trying to follow the instructions above:
    Fatal error: Cannot redeclare class streamreader in /……./wp-includes/streams.php on line 32
    I would appreciate any help! thanks for sharing how you integraded wordpress with zenphoto.
    thanks

  • 87
    paul mall Says:

    I have had some bugs in zended php files that prevented my site from running properly.

    I finally found a program that can decompile the zended script. The website is for site owners who have lost their source code.

    http://www.decode-zend-decoder.com

    Hope this helps someone who is stuck like I was.

  • 88
    Movie Goers Says:

    thanks for zenphoto theme tutorial, very valuable =)

  • 89
    שיש Says:

    שיש,שישלמטבח,שיש למטבחים

  • 90
    Tom (Puppy Website) Says:

    Thank You. I found it to very informational, it will certainly provide help in programming.

  • Leave a Reply

53741