Nottinghack Wiki:Flickr gallery old version: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
No edit summary
message to use new widget as this one will be removed
Line 1: Line 1:
<noinclude>
<noinclude>
{{info|This widget is currently broken, I intend to find a suitable replacement shortly [[User:Robert|Robert]] ([[User talk:Robert|talk]]) 00:02, 10 June 2014 (UTC)}}
{{info|This widget is no longer supported any will be removed, please use [[Widget:Flickr]] instead. [[User:Robert|Robert]] ([[User talk:Robert|talk]]) 00:21, 11 June 2014 (UTC) }}


This widget embeds a gallery of images from [http://www.flickr.com/ flickr] into a wiki page.  It uses the [http://www.kishnel.com/kishlery/ Kishlery] javascript gallery.
This widget embeds a gallery of images from [http://www.flickr.com/ flickr] into a wiki page.  It uses the [http://www.kishnel.com/kishlery/ Kishlery] javascript gallery.

Revision as of 00:21, 11 June 2014

This widget embeds a gallery of images from flickr into a wiki page. It uses the Kishlery javascript gallery.

Using this widget

You can insert a gallery with the following wiki code:

{{#widget:Flickr gallery|mode=user|id=49386198@N04}}

You can find the id value by using idgettr.com.

Parameters

mode
Indicates how photos should be requested from flickr. The accepted values are: user, group, photoset, or folder
id
The ID used to request images from flickr. Depending on your selected mode, you should enter the user id, group id, or photoset id. You can find the appropriate value using idgettr.com.
sort
The order to display the images. Accepted values are: date-posted-asc, date-posted-desc, date-taken-asc, date-taken-desc, interestingness-desc, interestingness-asc, relevance
tags
A space-separated list of tags to search for when retrieving images. An image is included in the gallery if it contains any of the listed tags. This parameter only works when the mode is set to user or group.
maxSize
The size of the images displayed in the gallery, specified in pixels. The aspect ratio of each photo is preserved, and the image is scaled down so its width and height are less than maxSize. Default: 300.
limit
The maximum number of photos to retrieve. Default: 30

Example

Error in widget Flickr gallery: Unable to load template 'wiki:Flickr gallery'