Part of the EllisLab Network

Plugin Information

Flickr Tools 1.0 third_party

Download
Author:
Solspace
Published:
Dec 12, 2005
Last Updated:
Dec 01, 2008
License:
Freeware
Categories:
Plugins  Add-On  
Pull images from a Flickr group into your EE templates

Requirements

Flickr account

Example Usage

Recent Flickr Images<br />

<table>
  
{exp:flickr_tools:get_recent group_id="77777777@N00" limit="10"}
  {if no_results}
<tr><td>There were no images to show.</td></tr>{/if}
  
<tr class="{switch="rowOn|rowOff"}">
  <
td>
  <
a target="flickr" href="{image_link}"><img src="{image_url}" width="{width}" height="{height}" title="{image_title}" border="0" /></a>
  </
td>
  <
td>
  
{image_title}<br />
  
{owner_name}
  
</td>
  </
tr>
  
{/exp:flickr_tools:get_recent}
  
</table>

Notes

This plugin allows you to show thumbnail images from your Flickr gallery.

_____
The Tag
{exp:flickr_tools:get_recent group_id="77777777@N00" limit="10"}
{/exp:flickr_tools:get_recent}


_____
Parameters
group_id: This is the ID of your flickr group. It is a required parameter.
limit: This limits the number of thumbnails that will be returned. The default is 5.


_____
Variables
image_url: URL of the thumbnail image.

image_link: URL of the Flickr gallery where the image is housed.

image_title: Title of the image in the Flickr gallery.

owner_name: Owner of the image.

date_added: Date the image was added to the gallery. In version 1 of this plugin, the date format is fixed. (Jan 1, 2001).

switch: Use the switch variable here as you would use it throughout ExpressionEngine.

if no_results: Use this conditional to show content when there are no images available.