Making a Flickr Gallery or Slideshow With More Than One Tag

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:

  1. with tag1 (e.g. dogs)
  2. with tag2 (e.g. rio)
  3. with tag1 OR tag2 (e.g. tag=”dogs,rio” tagmode=”any”)
  4. 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 by on .

{ 3 comments… read them below or add one }

Russell September 10, 2013 at 12:22 pm

Hi Peter, You need to elaborate on the problem with the specific example, giving your Flickr URL, and the tags in question, and in what way in does not work. No photos, too many photos?

Peter August 29, 2013 at 11:03 am

I have been able to use slickr-flickr with a single tag, it works fine
[slickr-flickr tagmode="all" tag="tag1" items="15" type="slideshow"]

For some reason multiple tags do not seem to work
[slickr-flickr tagmode="all" tag="tag1,tag2" items="15" type="slideshow"]

Any ideas?

fab June 18, 2010 at 8:10 pm

Thanks for this widget and all the explanations on your web site. It is easy to use and the display is really nice.

Leave a Comment

CommentLuv badge

{ 1 trackback }

Previous post:

Next post: