Widget:Flickr: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
Initial version of new Flickr widget using nanoGALLERY
 
changed CDN urls to https
Line 19: Line 19:
   <!--{counter name="nanoGalleryDivId" assign="nanoGalleryDivId"}-->
   <!--{counter name="nanoGalleryDivId" assign="nanoGalleryDivId"}-->
   <!--{if $nanoGalleryDivId == 1}-->
   <!--{if $nanoGalleryDivId == 1}-->
   <link href="http://cdnjs.cloudflare.com/ajax/libs/nanogallery/4.4.2/css/nanogallery.css" rel="stylesheet" type="text/css">
   <link href="https://cdnjs.cloudflare.com/ajax/libs/nanogallery/4.4.2/css/nanogallery.css" rel="stylesheet" type="text/css">
   <script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/nanogallery/4.4.2/jquery.nanogallery.min.js"></script>
   <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/nanogallery/4.4.2/jquery.nanogallery.min.js"></script>
   <!--{/if}-->
   <!--{/if}-->
   <div id="nanoGallery<!--{$nanoGalleryDivId|escape:'html'}-->"></div>
   <div id="nanoGallery<!--{$nanoGalleryDivId|escape:'html'}-->"></div>

Revision as of 22:52, 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

Example