Developers

Lightbox configuration

Voog uses an open source lightbox Photoswipe for displaying gallery images. Lightbox behaviour can be configured by pushing a configuration option lightboxOptions to window.edy object:
<script type="text/javascript">

  window.edy = window.edy || [];

  window.edy.push(['lightboxOptions', {

// Lightbox photo size picking mode for Voog.
// Values:
    // "largest" (useful for sharing large original images for downloading)
    // "auto" (determined by screen size)
    photoSize: 'largest',

// Photoswipe gallery configuration options // List of available options are available at http://photoswipe.com/documentation/options.html
    photoSwipeOptions: {
      shareEl: true,
      counterEl: true
    }

  }]);

</script>