Main tags and tag attributesThese tags can either go into an article or a page template. Step 1: Attributes concerning the set preview (vdh_flickr)Shows the preview image, title and description of specific sets, or all sets. Mandatory Attributes:- nsid, if not specified in the source code.
Possible Attributes:- set_preview_size="m" Possible image sizes are described below.
- mode="all|none" vdh_flickr basically supports two modes for selecting flickr sets: all and none. Default is all.
- except="162XXX,163XXX" Furthermore you can specify a list of exceptions exceptions.
Examples: - email="you@there.com" password="yourpassword" If you enter your eMail and password (the one you use to login to flickr), vdh_flickr will show your private pics, too.
- <txp:vdh_flickr nsid="12345678@N00" mode="none" except="162XXX" />< This will show only the set number 162XXX.
- <txp:vdh_flickr nsid="12345678@N00" mode="all" except="162XXX,163XXX" /> This will show all sets except numbers 162XXX and 163XXX. Multiple exceptions must be comma-seperated with no spaces in between.
- use_articleurl="0|1" Include the article id and/or title in the url (depending on your url scheme), when linking to the thumbnails and individual images. Default is 0, when vdh_flickr was loaded from an article list, and 1 if vdh_flickr was loaded from an individual article.
Step 2: Attributes concerning the thumbnail view (vdh_flickr_thumbnails)Shows all images in a specific flickr set, all the images associated with a list of tags or the X latest images. Mandatory Attributes:- nsid, if not specified in the source code.
- set="1234567" The number of the set you want to show. To determine this number, log into flickr, click on the set and look at the url. The set number is the last part of the url. Example: http://www.flickr.com/photos/12345678@N00/sets/135789/ In this case the set number is 135789. OR: tags="tag1,tag2" List of tags that should be displayed. Multiple tags must be comma-seperated with no spaces in between. By default, all images containing at least one of these tags is shown. OR: latest="20" Show the latest 20 pics.
Possible Attributes:- thumbnail_size="t" Possible image sizes are described below. Don't be confused by the name thumbnail_size. You can select any size.
- random="10" Show a random selection of 10 of the specified set / list of tags / latest pics.
- tag_and="0|1" Change the mode how multiple tags are handled. If switched to "1", vdh_flickr will only show the pictures that contain ALL of the tags specified. Default is off (0).
- open="self|window|flickr|lightbox"
- self (default): opens images within the website
- window: opens image in a new window
- flickr: opens image within the flickr.com website
- lightbox: opens image within the website in a lightbox window. Lightbox JavaScripts and Stylesheets must be included manually (see Lightbox documentation, part 1).
Step 3: Attributes concerning imdividual images (vdh_flickr_img)Shows a single image from flickr. Mandatory Attributes:- nsid, if not specified in the source code.
- img="1234567" The number of the image you want to show. To determine this number, log into flickr, click on the image and look at the url. The image number is the last part of the url. Example: http://www.flickr.com/photos/12345678%40N00/7654321/ In this case the image number is 7654321.
Possible Attributes:- img_size="n" Possible image sizes are described below.
- original_size="o" Size of the linked image if link="original_size" is used.
- link="original_size|flickr|img_information|http://www.google.com" Link the image to a specific url, the original sized image, the image on flickr.com or on the image information page on flickr.com.
- contextmode="text|img" Show next and previous image as text (editable via text_next_img_link_text) or as small preview image. Default is text.
|
Just wanted to note that it doesn't follow from the doc that the "open" attribute can also be used in the standard vdh_flickr tag, not just in the vdh_flickr_thumbnails tag.