October 16, 2008

After a long hiatus, Extension of the Week is back by popular demand. The extension I’m focusing on this week is the Flickr Extension. Flickr, an online photo management and sharing application, allows you to create an account to upload and manage your pictures. With the MindTouch Deki extension you can add a Flickr slideshow of your favorite pics.

To start install the Flickr Extension. Once installed there are a couple of invocations that are available. The first code we can add is a Flickr Badge. This creates a dynamic badge that expands photos within the bounds of the badge and then minimizes them into a square.

To try out the Flickr Badge, paste the following code into a Deki page:

{{ flickr.badge("mindtouch") }}

This will produce the following:

You can change the “mindtouch” to any keyword that you want to search Flickr for.

If you want to take the extension one step further and embed an actual slideshow into a Deki Page then you can use the following code:

{{ flickr.slideshow("mindtouch") }}

This will produce the following:

Now lets say that you want to have better granularity control on the content that is showing up in your Flickr Slideshow. You can do this by setting up a Set within Flickr that contains the pictures that you want to show and then using the following syntax where the uri is replace with the uri of your photo set:

{{ flickr.slideshow{ uri: "http://flickr.com/photos/eamon/sets/72157594526998899/" } }}

This will only display the photos that are found in the set you are referencing.

The Flickr extension is a great way to add visual content to a Deki page in an easy and nicely formatted way. It also helps improve the contextual relevance of the page by creating keyword specific slideshows based around the content of the page.

If you have any questions please feel free to leave a comment or Contact Us.

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

Leave a Reply