Flickr Images By Tags

By michal frackowiakmichal frackowiak

Description

Suppose you want to grab some images from Flickr based on one or more tags. Why?

  • you would want to include some images related to your page subject, e.g. "Aston Martin DB9" ;-)
  • you could create some custom tag that your friends would use — e.g. tlugfestival2005

In fact this is quite easy if you read the documentation of the FlickrGallery module.

Code

So let us pull images with tags "astonmartin" or "db9" and setting 12 pics per page, thumbnail size, order by date taken:

[[module FlickrGallery tags="astonmartin,db9" sort="date-taken-desc" perPage="12"]]

If you want to have only one page of results (without the "pager") use the extra attribute limitPages="1".

In action

This is the live example of the code above:

Rate this solution

If you think this solution is useful — rate it up! Or dump it otherwise.

rating: +15+x
SV
SERGE VEDERNIKOVSERGE VEDERNIKOV 1228728007|%e %b %Y, %H:%M %Z|agohover

www.sergeyvedernikov.com

unfold SV by SERGE VEDERNIKOVSERGE VEDERNIKOV, 1228728007|%e %b %Y, %H:%M %Z|agohover
picures by username
charlemagne712charlemagne712 1229813737|%e %b %Y, %H:%M %Z|agohover

ive been trying to set up the flickr thing so i can automatically see allt he picture i ahve in my flickr account on my wiki, but i cant figure out the code,, whenever i try it says no pictures found

unfold picures by username by charlemagne712charlemagne712, 1229813737|%e %b %Y, %H:%M %Z|agohover
A small problem
wtomanwtoman 1239357240|%e %b %Y, %H:%M %Z|agohover

It's pretty cool. The only problem is with "scrolling" images. Clicking next button works only once. For all next presses it changes nothing - the image stays the same.

unfold A small problem by wtomanwtoman, 1239357240|%e %b %Y, %H:%M %Z|agohover
Add a new comment
Page tags: flickr gallery images
page_revision: 12, last_edited: 1226099986|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License