Multiple Tags at Once

Hi! This is purely a question about how ZenPhoto works.

I'm setting up my website to link to various "galleries" that ZenPhoto automatically generated with it's Tags (so, by clicking on the link for Vector pieces on my site; they'll get this: http://zerflin.us/ZenPhoto/index.php?p=search&searchfields=4&words= Vector

My question is, how do I limit it to multiple tags?
So for example, if I want to have a list come up with Vector AND People, what would be the URL?

Thanks!

Comments

  • That is not possible at the moment. Tags are just an OR function.
  • oh... that makes me sad. Is that something that may come?

    Otherwise; here's my other question: If I have entered in a lot of data (like location, date, description, etc), and I move that photo to another Album, will the data stay with the image?
  • acrylian Administrator, Developer
    No, you have to re enter it. The function for that is planned and will take some time. Be sure to vote for it in our poll on www.zenphoto.org/category/News/!
  • I suggest that you use a program like Adobe Bridge and add the data to the image as EXIF/IPTC meta data. Then it will go with the image wherever it goes.
  • acrylian: The search idea worked! (though it's it's not showing up in the thread here... I got it in my Google Reader. Did you edit your post?)

    Here's what happened (once I figured out I had to log out in order to view the strings): When I have this in my address bar: http://zerflin.us/ZenPhoto/index.php?p=search&searchfields=255&words=vector,people

    It turned up all the results with the words "Vector" or "People" in it.
    So here's my next question: is it possible to write it in such a way that it uses an AND function instead of an OR function? So that the more tags I enter in my search, the narrower it gets?

    Sbillard: That is an EXCELLENT idea. I have Bridge and will begin doing that. Quick question; what field does ZenPhoto pull from the EXIF/IPTC data for tags? Also, on Bridge, I see another tab above [Metadata] called [Keywords]. Is that only for Bridge, or does ZenPhoto pick that up too?

    Thank you both so much for your help!
  • acrylian Administrator, Developer
    Yes, I edited my post because I realized later that it's indeed an OR result not an AND result, what you actually wanted. It's been a while I worked on the search. But if it works for you for now, that is fine!

    Generally it would be possible to have an AND function. I don't have the code in mind currently and don't know how hard that would be since it will have consequences for all searches. But we will take a look.
  • Hey acrylian,
    I was just checking if you had found anything on this.
    Thanks!
    ~Benjamin
  • acrylian Administrator, Developer
    You really should subscribe to our RSS feed, we now have boolean searches and dynamic albums....:-):
    http://www.zenphoto.org/2008/02/version-115/
    http://www.zenphoto.org/2008/02/version-115-announcement/
  • Gotcha. Thank you.
    I've installed it, but I have a question. Is there a way to filter out the sub-galleries from the search results? They show up at the top of the results. Or is there a way to at least get them to the bottom?
  • acrylian Administrator, Developer
    Well, not really, but you could try setting the search for expample for tags only in the admin and simple don't assign tags to the subalbums or albums in general.

    Regarding moving them: Search.php is basically the same as album.php, you would have to modify that theme file. I don't see why changing the order of the album and the image loop (next_album() / next_image()) should not work. I haven't tried it though. The first way might be the easiest.
Sign In or Register to comment.