Here are the instructions to how to make a gallery or slideshow that uses more than one tag. This is done by using the tagmode attribute. There are two possible options:
- tagmode=”all” – only selects photos that have all the tags you specify
- tagmode=”any” – selects photos that have any of the tags you specify
In this example we will use demonstrate the different approaches where we will use two tags, individually and then in combination.
We will display galleries:
- with tag1 (e.g. dogs)
- with tag2 (e.g. rio)
- with tag1 OR tag2 (e.g. tag=”dogs,rio” tagmode=”any”)
- with tag1 AND tag2 (e.g. tag=”dogs,rio” tagmode=”all”)
The results look like this:
Photos Tagged with Rio
Photos Tagged with Dogs
Photos Tagged with either Rio or Dogs
This combination using tagmode=”any” gives more photos than the individual sets shown above. In mathematical terms it is the union of the two photo sets. N.B. Also set use_key=’y’ to make this work… a temporary fix.
Photos Tagged with both Rio and Dogs
This combination using tagmode=”all” gives less photos than the individual sets shown above. In mathematical terms it is the intersection of the two photo sets.
Video instructions are below:
To find more videos that help you make the most of Slickr Flickr check out Slickr Flickr Video Tutorials
Updated byon .