I have uploaded a new recipe to the cookbook, called Flickr Album. This recipe enables you to dynamically display images directly from Flickr in your site.<br><br><a href="http://www.pmwiki.org/wiki/Cookbook/FlickrAlbum" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.pmwiki.org/wiki/Cookbook/FlickrAlbum</a><br><br>It makes use of the phpFlickr class, written by Dan Coulter, <a href="http://www.phpflickr.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
www.phpflickr.com</a>.<br><br>It allows the use of the wiki markup (:flickralbum:) which features several parameters.
<br><br>user=? - flickr userid<br>tags=? - tags to limit by, comma-delimited<br>columns=? - number of columns in album<br>number=? - total number of photos to show<br>type=recent - show most recent first<br>type=interesting - show most interesting photo first
<br>size=? (Square, Thumbnail, Medium, Original - note: not all photos come in every size)
<br><br>At the moment, the userid is the only required parameter. <br><br>You can see examples of this recipe at work here:<br><br><a href="http://josquin.us/wiki/Cookbook/FlickrAlbum" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://josquin.us/wiki/Cookbook/FlickrAlbum
</a><br><br>Enabling this recipe requires installation of the phpFlickr class as well as configuring flickr-album.php by inserting a Flickr API key and configuring the photo cache.<br><br>At the moment, I'm having trouble with filesystem caching. When I tried to enable filesystem caching, I immediately had numerous problems with my wiki configuration, and I figure it must have something to do with the PHP work directory being changed, but I don't know much about that kind of thing. If anybody has any ideas about how I'd get around that problem, please let me know. At the moment, you can use this recipe if you set up a MySQL database for the photo cache or you can disable the caching entirely (which might be slow). Instructions are included.
<br><br>I'm considering this release 0.1 and future improvements should include ability to display images from a set or group.<br><br>Jon<br><br>-- <br>Jon Haupt<br>Fine & Performing Arts Librarian<br>Iowa State University
<br>152 Parks Library<br>Ames, IA 50011<br>515-294-0904<br><a href="mailto:jhaupt@iastate.edu">jhaupt@iastate.edu</a><br>