Extension:Flickrm

The Flickrm Extension is a special page to show your Flickr photos. It is based on Ruben Molina's original code from GiGAX, Flickrm uses PhpFlickr v1.x.

License
Flickrm Extension is free software, covered by the GNU General Public License.

Download

 * 1) Download PhpFlickr class.
 * 2) Download Flickrm Extension
 * 3) Download Flickrm Special Page

Installation

 * 1) Decompress phpFlickr.
 * 2) Save Flickrm Extension on the extensions/ folder as Flickrm.php.
 * 3) Save Flickrm Special Page on includes/ folder as SpecialFlickrm.php.

Configuration
Open your LocalSettings.php and add the extension.

require_once( "extensions/Flickrm.php" );

Open SpecialFlickrm.php and write some constants to setup your Flickr.

// Your flickr username. define( "FLICKRM_USERNAME", "" ); // Your flickr api key. // Get one: http://www.flickr.com/services/api/misc.api_keys.html define( "FLICKRM_APIKEY", "" ); // Path for phpFlickr class // Download it: http://www.phpflickr.com define( "PHPFLICKR_PATH", "/path/to/phpFlickr.php" ); // Path for cache dir, Remember to set write permission for apache. // About cache: I'm using filesystem cache you can also use database cache... // change the cache line in both files: flickrm.cloudtag.php and flickrm.php // Read about it here: http://www.phpflickr.com/docs/?page=caching define( "FLICKRM_CACHE", "/path/to/cache" ); // Some constants for the tags. // Max font size. define( "MAX_FONT_FLICKRM", 35 ); // Min font size. define( "MIN_FONT_FLICKRM", 12 ); // Mininum tag count to display. define( "MIN_TAGS_FLICKRM", 1 );

Save it and thats all you need to setup Flickrm for MediaWiki.

Usage
Now go to Special:Specialpages, click on Flickrm or just write Special:Flickrm directly on your navigation toolbar.

Flickrm Planet
Now we have an special feature on Flickrm extension, a Planet, what's a Planet? a lot of Flickr accounts in just one page!.

Setup
Just add as many Flickr usernames that you want to the wfSpecialFlickrm method on SpecialFlickrm.php script.

// Set planet users :). $flickrm->flickrPlanet = array( " ", " " );

Usage
Go to Special:Specialpages?a=planet and you can see all user's tags and the latest photos that they have, choose whatever tag you want and you see all pictures associed to this tag for all the users on the planet.

Demo

 * Example from Archive.org: GiGAX gallery, original page down.