Alex, how are image tags stored/used in NextGen?
I can Tag each photo, which can be done in the NextGen admin panel. How are those Tags stored in the database? (Are they stored in the database?)
How are they referred to in PHP code?
What I’m trying to do is link post_tags from my Posts to my ngg_tags, so when you go to an Post Archive page (which for me are mostly basketball players), you see the images tagged with that person’s name.
Everything above the line is my code. The bio information is taken from a datatable that I create and maintain. The picture is linked automatic to a NextGen gallery by making sure the image’s file name matches the player’s name.
From there, I have photos taken during games, and each photo might have two or three players tagged in them. I want to match those photos to each player, and I can’t locate the image in my database.
Using the player I linked above, I know his
term_id = 517
term_taxonomy_id = 1200 where taxonomy = ngg_tag
But in the ngg_ tables, I can’t find 1200 anywhere, nor can I find anything that would link Jeremy Hollowell to any tags I create.
- The topic ‘Alex, how are image tags stored/used in NextGen?’ is closed to new replies.