Categorizing photos in categories and sub-categories

Can you categorize photos into categories and sub-categories?

Like I want a general category called "Places" but subcategories under it like "Wisconsin" or "Hawaii" and the sub-categories under that. Is this possible with any plugin.

I basically want to make a free photos site like pdphoto.org with photos I've taken, is this possible with zen photo?

I've gotten it to look like http://www.goodfreephotos.com/index.php with the zenpages plugin but I need to know how to get the albums to show on the sidebar in tree-format. Is there another plugin for this?

Comments

  • acrylian Administrator, Developer
    We call the categories albums (categories are for news articles using the Zenpage plugin), please use the right terms to avoid confusion.

    Zenphoto allows unlimited nested albums as far as your server has space for it.

    For the "tree" use the print_album_menu plugin.
  • Anyway to have it automatically print the entire tree in the side menu without a user having to click on a main category to show a sub-category?
  • acrylian Administrator, Developer
    Please look at the documentation.
  • Is that the user help guide? Its really hard to find anything in there.
    I've looked at the help file for the plugin and I'ved changed showsubs to true like it says, but it still doesn't print it.

    The help file doesn't actually give examples of how to implement these.
  • acrylian Administrator, Developer
    The info popup links to the actual documentation:
    http://www.zenphoto.org/documentation/plugins/_zp-extensions---print_album_menu.php.html
    You want to look at the function printAlbumMenu().
    This documentation is also listed on the user guide. And for that documentation there is a tutorial how to read it as well.
  • I've read that documentation on that page and I've changed the variables in the file so instead of null, showsubs is true now. The sidebar on zenpage still doesn't show the full tree(just the top albums) by default.

    I've tried changing a lot of variables in the file. While, it hasn't messed up my installation, none of them actually work.

    If I set showsubs=true in the function printAlbumMenu, should it print all categories and sub categories by default?

    I give up for today, I'll try it again tomorrow.

    I'm guessing it has something to do with the zenpage options as well.
  • acrylian Administrator, Developer
    You did read this one?:
    http://www.zenphoto.org/news/how-to-read-the-zenphoto-functions-guide

    It is important that you set all parameter before later ones. And you don't change the plugin, you change the plugin call on your theme of course (just in case...). So what parameters did you set, just showsubs is not enough to get the full tree.
  • TO get it to show up on the sidebar of the zenpage CMS, you have to change the call parameter in the zenpage template itself. Changing it in the module itself doesn't work. I changed sidebar.php's call and it works.

    Its a bit confusing as the help guide doesn't provide an example and because I'm not sure which file in the themes folder to change.
  • acrylian Administrator, Developer
    Every theme is different, in this case it is the sidebar.php file. I suggest to read the theming tutorial to learn the basics of theming for Zenphoto. It assumes that you at least have basic PHP knowledge. In any case you should take the time to learn those if you try to create a custom theme. (this is not a Zenphoto speciality btw).
Sign In or Register to comment.