Widget:Flickr: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
added colorSchemeViewer parameter
Widget ready for use
Line 1: Line 1:
<noinclude>
<noinclude>
{{info|This widget is currently under development [[User:Robert|Robert]] ([[User talk:Robert|talk]]) 22:51, 10 June 2014 (UTC)}}
This widget embeds a gallery of images from [http://www.flickr.com/ flickr] into a wiki page. It uses the [http://nanogallery.brisbois.fr/ nanoGALLERY] image gallery.
This widget embeds a gallery of images from [http://www.flickr.com/ flickr] into a wiki page. It uses the [http://nanogallery.brisbois.fr/ nanoGALLERY] image gallery.


Line 8: Line 6:


  <nowiki>{{#widget:Flickr|photoset=72157626706422487}}</nowiki>
  <nowiki>{{#widget:Flickr|photoset=72157626706422487}}</nowiki>


=== Parameters ===
=== Parameters ===

Revision as of 00:00, 11 June 2014

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

Using this widget

You can insert a gallery with the following wiki code:

{{#widget:Flickr|photoset=72157626706422487}}

Parameters

userId
Flickr user id - to display all albums for the specified user. You can find the appropriate value using idgettr.com.
photoset
Flickr photoset id - to display only the specified photoset, this takes precedence over the userId. You can find the appropriate value using idgettr.com.
thumbnailHeight
Thumbnails height in pixels. Default: 154
thumbnailWidth
Thumbnails width in pixels. Default: 300
colorScheme
Gallery colour scheme (breadcrumb and thumbnails). Possible values: none, dark, darkRed, darkGreen, darkBlue, darkOrange, light and lightBackground. Default: none
colorSchemeViewer
Image viewer colour scheme. Possible values: none, dark, darkRed, darkGreen, darkBlue, darkOrange, light. Default: none

Example