I think I'll kick myself as It's driving me insane.... is there an easy way to get the tags for an image in Nextgen Gallery, such as picture->tags ?
1. I get my picture array ($pictures = $wpdb->get_results("SELECT t.*, tt.* FROM $wpdb->nggallery AS t INNER JOIN $wpdb->nggpictures AS tt ON t.gid = tt.galleryid ");)
2. then can pull all my other info (eg.
$imageID = $picture->pid;
$galleryID = $picture->galleryid;
but then I'm stuck... the tags don't seem to have an easy reference.
I stumbled across this but it doesn't seem to work.
$picture_tags = $nggTags->get_tags_from_image($imageID);
echo $picture_tags;
any help would be appreciated.
Thanks
JP