Forums

[Plugin: NextGEN Gallery] Single image tags in it's description (4 posts)

  1. pillbox
    Member
    Posted 1 year ago #

    Hi all.

    I have found way to use tags in NextGen single pics. I'm tagged every single picture, and then create pages which contains only this: [tags=specific_tag], and of course tagged with "specific tag". By this way i'm getting single page with all my pictures tagged with "specific tag".

    It's be very cool if i can insert text link to "blog.com/tags/specific_tag" right into description of image. Of course i can create them DIY, but only if i had to be more IT guy...

    I think there is a way to grab specific single image tags and write them in description of image.

    Any help?

  2. phlux0r
    Member
    Posted 1 year ago #

    My question earlier also had to do with tags. While you can create a page for each tag, this is a very laborious way of dealing with it.

    It would be much better if there was a way to generate a tag cloud from the image tags and then have the gallery GENERATE the page automatically when you click on a tag.

    I have managed to create a tag cloud but where I'm stuck is how to generate the page with the images tagged with that tag. Nextgen seems to only work when you create a page/post in Wordpress and does not allow for automaticaly/dynamically generating pages... or am I wrong?

    It would be great if Alex could comment on this :) Cheers!

  3. realsol
    Member
    Posted 1 year ago #

    I am doing it now from a tag cloud. I did have to execute a php script from the page. I guess this could also be done in the theme or posibly a plug-in.

    I am using the exec-php plug-in and have this for the html of the page:
    <?php
    if ($_REQUEST["tag"] <> "") echo "[tags=".$_REQUEST["tag"]."]";
    ?>

    Works great. I am probably going to use the album tag if multiple tags are being searched. Makes more sense.

    I would also like to figure out how to search tags like tag1+tag2 so the return is only the pictures that include both tags. Does anyone no how to do this?

  4. roberthq
    Member
    Posted 5 months ago #

    realsol,
    Can you please expand on how you use the

    <?php
    if ($_REQUEST["tag"] <> "") echo "[tags=".$_REQUEST["tag"]."]";
    ?>

    I add it to my post and it just shows up. No tags from my nextgen photos anyplace or in a cloud. I'm guessing their are some assumptions I'm missing. I do have the exec-php plugin.

    Thank you for your time. I'm sure many people are going nuts trying to sort this out.

    RRG

Topic Closed

This topic has been closed to new replies.

About this Topic