Widget:Flickr: Difference between revisions
Jump to navigation
Jump to search
put code back at bottom |
No edit summary |
||
Line 49: | Line 49: | ||
<div id="nanoGallery<!--{$nanoGalleryDivId|escape:'html'}-->"></div> | <div id="nanoGallery<!--{$nanoGalleryDivId|escape:'html'}-->"></div> | ||
<script type="text/javascript"> | <script type="text/javascript" defer> | ||
$(document).ready(function () { | $(document).ready(function () { | ||
$("#nanoGallery<!--{$nanoGalleryDivId|escape:'quotes'}-->").nanoGallery({ | $("#nanoGallery<!--{$nanoGalleryDivId|escape:'quotes'}-->").nanoGallery({ |
Revision as of 02:13, 15 March 2021
Documentation
This widget embeds a gallery of images from flickr into a wiki page. It uses the nanoGALLERY image gallery.
- nanoGALLERY github - Latest version 5.10.3 (we use 4.4.2 see talkpage)
- nanogallery 4.4.2 library link
- nanogallery2 - Version 2 also available
Using this widget
You can insert a gallery with the following wiki code:
{{#widget:Flickr|photoset=72157626706422487}}
{{#widget:Flickr|userId=49386198@N04}}
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
andlightBackground
. Default:none
- colorSchemeViewer
- Image viewer colour scheme. Possible values:
none
,dark
,darkRed
,darkGreen
,darkBlue
,darkOrange
,light
. Default:none
Example