'Gallery'에 해당되는 글 2건
- 2008.01.30 flickrRSS for WordPress
- 2008.01.30 NextGEN Gallery
flickrRSS for WordPress
This plugin for WordPress allows you to display Flickr photos on your weblog. The plugin supports user, public and group photostreams. It’s easy to setup and configure via an options panel. It also has support for an image cache located on your server.
Download
flickrRSS 3.2
Released: Jan 11, 2008
Installation
- Put flickrrss.php in your plugins directory
- To use the image cache, create a writable directory and specify its location in the options
- Activate the plugin
- Configure your settings via the panel in Options
- Add
<?php get_flickrRSS(); ?>
somewhere in your templates
FAQ
- Can I get random images from my stream?
No, it’s a limitation of using the RSS feed (it only contains the most recent photos) - Why can’t I display sets?
Flickr doesn’t provide any rss feeds for sets - How do I refresh the photos manually?
Good question. The plugin uses built-in WordPress functions to update the feed, I haven’t figured out how to force an update. - When I use multiple tags, why does nothing shows up?
The feed will only pull in photos that have both tags, not one or the other.
Advanced
The plugin also supports a number of parameters, allowing you to have multiple instances across your site.
$num_items
- how many photos you want to appear$type
- specify user, public or group photosream$tags
- a comma separated list of tags (with no spaces)$imagesize
- square, thumbnail, medium or large$before
- html appearing before each photo$after
- html appearing after each photo$userid
- specify a user id (or group name)
Example 1<?php get_flickrrss(10, “public”, “london,people”); ?>
Example 2<?php get_flickrrss(5, “group”, “”, “thumbnail”, “<li>”, “</li>”, “eightface”); ?>
The first example would show the 10 most recent public photos tagged with london and people. The second would show the 5 most recent thumbnail sized photos from the Eightface group, and each photo would be wrapped in list tags.