Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@codeflows
Created October 9, 2010 12:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codeflows/618128 to your computer and use it in GitHub Desktop.
Save codeflows/618128 to your computer and use it in GitHub Desktop.
<!-- Gallery container element -->
<div id="photo-gallery">
<!-- Each photo set in its own element -->
<div class="photo-set">
<!-- Title, used when generating the photo set link listing -->
<h4 class="title">Embreach at Tavastia</h4>
<!-- Actual Flickr slideshow, id of format "flickr_user_id:flickr_set_id" -->
<div class="photos-flickr" id="embreach:72157624949768618"></div>
</div>
<!-- Set can be marked as default by adding CSS class "default-set" -->
<div class="photo-set default-set">
<h4 class="title">Kamu</h4>
<div class="photos-flickr" id="jari:50559"></div>
</div>
</div>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="http://codeflows.github.com/jquery-flickr-gallery/src/flickr-gallery.js"></script>
<script type="text/javascript">
// Transform the gallery element(s) using the plugin
$('#photo-gallery').flickrGallery();
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment