How to Display Galleries based off of Tags

Modified on: 2014-11-14 13:23:00 -0600

TAGS are a powerful feature of NextGEN that many users overlook. You can add tags to any image individually, bulk edit/delete/change tags, and dynamically display both galleries and albums based on tags. When you specify a gallery or album based on tags, NextGEN will look for any image in any gallery that has the specified tag and pull it into a new, dynamically displayed gallery.

Adding and Editing Tags

FROM THE MANAGE GALLERY INTERFACE. The main place to add image tags is the Manage Gallery page. Along with other meta data like title and caption, you can add tags for any image separated by commas.


FROM THE MANAGE TAGS PAGE. Once you have a large quantity of tags, you can bulk edit your tags from the Manage Tags page. Select any tag and delete it or change it. This can provide an efficient way to manage large quantities of tags and images.


Displaying Images Based on Tags

DISPLAYING GALLERIES BASED ON TAGS. You can use tags to dynamically generate galleries.

In Legacy versions of NextGEN Gallery (v1.9.13 and older) this functionality is only available through use of shortcodes, but starting with NextGEN 2.0, you will be able to do this easy from the new Insert Gallery Window.

To display a gallery based on tags, use the following shortcode format: [ nggtags gallery=landscape,blue] without spaces before/after brackets.NextGEN will pull all images, from any galleries, that have those tags. Based on our demo galleries, the above short code would display the following:


Rich lavender field with a lone tree

forest in a fog

Panoramic view of Tofino, Vancouver Island, Canada




Through the Insert Gallery Window, click on the add gallery icon:


A pop up window will appear where you can manage your tags, and display a tagcloud gallery. Click on the gallery type you want your gallery (based on tags) to display as:


Next, under ‘What would you like to display?’ select ‘Tags’ in the drop-down, and then click once in the text box next to the word tags and select the tags you want included in your gallery:


Did you find it helpful? Yes No

Can you please tell us how we can improve this article?