Edit Overview
This
ScrewTurn Wiki plug-in will put a grid of thumbnail photos from a
flickr.com PhotoSet you specify right into your page. This is version 1.0 and has very little options. I plan on updating it with the ability to supply parameters to configure per page (like how big of thumbnails, how many columns, HTML formatting, etc).
Note: Due to the poor way that Flickr's API works, large photo sets can make page loading slow as several requests to Flickr must be made to get all the data. I must make one call to get a list of photos, then I must make another call for each photo to get its description. So if there are 40 photos in a set, that's 41 web requests I must make to Flickr. Unless Flickr updates their flickr.photosets.getphotos api, there's really not much I can do other than not retrieve the description of the photo (which in my usage of this plug-in on hossweb.com, I need).
EditDownload
You can download the built plugin from the below link. Later once I add some features and clean up the code with better commenting, I will include the source code as well.
Edit Instructions
Installation
To install this (or any) plugin in your working STW, follow
these instructions.
You will need to get an API Key from Flickr to use this plugin! After you install the plugin with the above instructions, you will need to put your API Key in the configuration string (above instructions explain this, but on the providers tab of the admin control panel for ScrewTurn Wiki, you can click the FlickrPlugin and then click the Configure button which will present a textbox for you to put your API Key in..
Usage
To use this plugin, simply enter in the below wiki markup into any of your wiki pages...
{PhotoSet:FlickPhotoSetID} Example:
{PhotoSet:72157621907609381} When the page is rendered to the user, everywhere you had the above text in the page, you will see a table of photos from the photoset ID you specified.
Edit Feedback
Feel free to use the "discuss" link near the top roght of this page to leave feedback or questions you have about this plugin.