source
http://blog.dukechina.org/zp.tgz //my code is poorly commented
live demo
http://blog.dukechina.org/zp/I modified zp 1.0 to support sub-catigories.
if you have any question contact me by email or leave a message on my website
http://blog.dukechina.org/I also add a slideshow function, see demo
http://blog.dukechina.org/gallery/photography/dukefall/slideshowajax.js was modified for better view.
Comments
trisweb, whilst your here: for ZenPhoto help/install/tutorials, why dont you set up a wiki?
BenSp
A quick suggestion: Lower the comment pop-out such that it won't block the photo.
I'll be following your contributions, God bless!
I like the popup commenting, because most people do not comment, and it is a waste of space to show the comment form for each photo. and It is ajaxy. I don't know why it did not work for you. As for the slide show, some of my friends are crazy about it, and it is just my theme, and do not need any support in zp's kernel.
Your contribution is appreciated but your attitude is not.
sorry for the confusing.
download the slideshow code here,
http://blog.dukechina.org/slide.tgz
extract it to your theme folder and add
/////////////
<?
if(isset($_GET['slideshow'])){
include ("slideshow.php");
exit;
}
?>
////////////
in the beginning of your album.php
then the link to your slidesshow is
http://xx.xxx.xxx/zp/index.php?album=others&slideshow
that is the link of your album plus "&slideshow"
Is it possible to only use sub-catigories, and not slide show?
thank
http://coucoudean.free.fr/
Fatal error: Call to a member function on a non-object in ....classes.php on line 761
any suggestion?
thank
just change this line in index.php
include(???$themepath/$theme/slideshow.php???);
to
include(???$themepath/$theme/image.php???);
http://blog.dukechina.org/zp.tgz
It works, but still a lot work to do. you can try out.
http://www.rockpaperpixels.com/zenphoto/
Here are a couple suggestions for future versions/releases. I am working on these now but I'm an admitted php newb.
1) Add functionality to the admin page so it understands sub folders. As it stands you can not select the sub folders unless you manually edit the url when you're editting an album.
2) Descriptions do not seem to work in sub-categories. It would be great to have that abilty.
Otherwise it looks awesome. Thanks so much!
thanks
I want to promote compatiblity, not two different forked versions. If you actually rewrote all the code yourself, then promote it on your own site, and please refrain from doing so here.
I haven't looked at how you've done subcats and other features, but since you say you've made everything from scratch, how can it be much use to us? If you want to help, please work off our own codebase and with the original code, otherwise, take it elsewhere.
The rest of you are welcome to use whatever you want (especially if you need subcats, or whatever else), but for now, this is NOT zenphoto, and please don't call it that if you use it. Thank you.