Widget:Flickr: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
Undo revision 8680 by Robert (talk)
added thumbnail size parameters
Line 11: Line 11:


=== Parameters ===
=== Parameters ===
;thumbnailHeight
Thumbnails height in pixels. Default: <code>154</code>
;thumbnailWidth
Thumbnails width in pixels. Default: <code>300</code>
;colorScheme
;colorScheme
: Gallery colour scheme (breadcrumb and thumbnails). Possible values: <code>none</code>, <code>dark</code>, <code>darkRed</code>, <code>darkGreen</code>, <code>darkBlue</code>, <code>darkOrange</code>, <code>light</code> and <code>lightBackground</code>. Default: <code>none</code>
: Gallery colour scheme (breadcrumb and thumbnails). Possible values: <code>none</code>, <code>dark</code>, <code>darkRed</code>, <code>darkGreen</code>, <code>darkBlue</code>, <code>darkOrange</code>, <code>light</code> and <code>lightBackground</code>. Default: <code>none</code>
Line 32: Line 38:
         kind:'flickr',
         kind:'flickr',
         photoset:'<!--{$photoset|escape:'quotes'}-->',
         photoset:'<!--{$photoset|escape:'quotes'}-->',
         thumbnailWidth:200,
         thumbnailHeight:'<!--{$thumbnailHeight|escape:'quotes'|default:154}-->',
        thumbnailWidth:'<!--{$thumbnailWidth|escape:'quotes'|default:230}-->',
         thumbnailHoverEffect:'labelSlideUp,borderLighter',
         thumbnailHoverEffect:'labelSlideUp,borderLighter',
         paginationMaxLinesPerPage:1,
         paginationMaxLinesPerPage:1,

Revision as of 23:12, 10 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

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

Example