Support » Plugin: NextGEN Gallery - WordPress Gallery Plugin » What are Image Tags For?

  • Resolved donfink


    Could someone briefly explain what the tags are for in the individual images in Galleries?

    When I edit individual image information in Galleries, I see the Alt and Title test/Descriptions fields, and immediately to the right I see a field for Tags. When I enter appropriate tags for the images, I can’t see where anything happens on the site in terms of being able to search and find them.

    So what’s the point I’m missing here?

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’ve noticed that I often find questions people left on a forum that somehow go unanswered, and I have thought, “I sure wish someone had answered that guy cause I wanted to know too.” Or the person will write back and say, “never mind, I found the answer”, and end the thread without offering an explanation. Then of course a year later, there’s this thread sitting on the forum that contributes nothing to the discussion. After all, I’m happy that you figured it out, but maybe I wanted to know too.

    So, while I was waiting for someone to explain to me what the purpose of tags are in NexttGen galleries and albums, I ran across a start of an answer. I was trying to apply them to the normal situation of using tags from within the web site in a similar fashion to how tags are used for finding posts, and wasn’t getting anywhere.

    It turns out that they work the same, but specific to images. In their simplest form, you can use tags to search out individual images you have scattered around your various galleries. But when you drill down a little bit, their true abilities come to light.

    Tags, it seems, can be used to generate truly dynamic kinds of galleries and albums. Here’s a brief explanation of how they work here:
    Let’s say you have a gallery of Yellowstone, one of Rocky Mountain National Park, and one of Glacier National Park. And within those galleries, you have images of elk, and you have those images tagged as “elk” among other things. Now, if you wanted, you could create a gallery using shortcode and tags, looking specifically for elk, or a list of other critters, or just critters if that’s in the tags too, and you’d have a gallery based on tags that span across all your other galleries.

    Of course, the next step would be to create a searchable gallery where a user could search the images themselves, but I’m not quite at that stage yet. Later maybe. Actually, now that know it’s possible, there’s probably something out there that tells me how to do it..

    Easy Peasy!

    First of all, thank you for your detailed answer…so many times I too find a half-answered post and I want to scream out loud “BUT WHAT WAS THE ANSWERRRRRR TO THE QUESTIONNNNNNN”!

    I came across your post because I am looking for exactly that functionality, that is: how can a user search for and see image(s) that are in one or more NextGen Galleries. I *KNOW* I can create a page with a shortcode that will display the images based on a tag, but I want the user to be able to search for a tag and dynamically pull up the images instantly.

    I have searched high and low, and have posted a question on this forum (today) but no responses yet. If you know of a plugin or IF ANYONE READING THIS can help, please jump right in! I cannot believe that with this plugin being so popular… with 5 MILLION downloads… that this hasn’t been asked at least 1,000 times. I just can’t find the answer.
    Thanks in advance …

    Hi stefanie,
    I mentioned earlier that I wasn’t quite at the stage of working this all out yet, but I had a couple of thoughts about how one could go about putting together a user driven dynamic gallery.

    I know that the first step would be to gather the information you’d need from the user. This could probably be as simple as designing a small form using HTML or very limited php on a page, collecting the user’s input in a variable, then passing that variable on to some NextGen shortcode that generates a gallery based on tags, descriptions, titles, and so on. I’m purposely being nebulous about specifics here because I’m so new to WordPress that I don’t really know all the possibilities yet. Working on it though.

    I know that there are at least two ways to run php content on a page: One is to write a function and register it as a shortcode, and simply reference the shortcode on the page. The other is to install a plugin that allows you to directly place php in a page. The php could run a short search box, or whatever, and then pass that information on to a Nextgen shortcode that would go out and retrieve the images. There might be other ways to get php up and running on a page too. Like I said, I’m so new at this that I really don’t know yet. Running really simple php scripts doesn’t present all that much of a learning curve, or so says the guy who doesn’t know what he doesn’t know, but I’m optimistic that I’ll eventually get to a point where I can work this out.

    Right now my current plan is to continue to move forward learning what I need to know in php. I need to learn how to collect data, then pass that along to a function (ultimately shortcode probably) that molds it into a shortcode for NextGen.

    The biggest problem is that, as I unpeel this onion I find more and more possibilities so I’m reluctant to commit to a particular direction until I know more about what’s possible with WordPress. If this thread stays open, I’ll come back and report as I run into information that’s relavent to this issue. I would certainly appreciate hearing back if you learn more too.

    thanks I would love to see how you tackle this if you do! I am still searching for a solution…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘What are Image Tags For?’ is closed to new replies.