Skip to content

Instantly share code, notes, and snippets.

@jsieber
Created October 4, 2015 04:40
Show Gist options
  • Save jsieber/16b6ee5a65ae68f79fa4 to your computer and use it in GitHub Desktop.
Save jsieber/16b6ee5a65ae68f79fa4 to your computer and use it in GitHub Desktop.

Revisions

  1. jsieber created this gist Oct 4, 2015.
    24 changes: 24 additions & 0 deletions index.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    $(document).ready(function() {
    $("#lightGallery").justifiedGallery({
    rowHeight : 150,
    lastRow : 'nojustify',
    margins : 10
    }).on('jg.complete', function() {
    $("#lightGallery").lightGallery({
    startClass: '',
    useLeft: true,
    thumbnail: false,
    animateThumb: false,
    showThumbByDefault: false,
    download: false,
    hideControlOnEnd: true,
    loop: false,
    autoplayControls: false,
    fullScreen: false,
    zoom: false,
    mobileSrc : true,
    preload: 1,
    mobileSrcMaxWidth: 640,
    thumbWidth: 150
    });
    });