rjchauhan / RJGallery-for-OctoberCMS

Create photo gallery for your website with responsive design.
22 stars 23 forks source link

Light Gallery Plugin for OctoberCMS

Create a photo gallery in your website with full screen preview and slideshows. Works with any browser on any device.

Features

How do this work

The plugin provides gallery component to build photo gallery with many customization settings, through which you can create your own style galleries.

Make your own style div wrapper for gallery.

Note: Put {% styles %} and {% scripts %} in your page header, if not there. If you have already included jQuery.js in your page header, you can set jQuery Inject option to no.

Gallery Component

Use the gallery component to display the photo gallery for your images of any size. The component has the following properties:

The next example shows usage of gallery component:

title = "Demonstration"
url = "/"
layout = "default"

[gallery]
idGallery = "1"
lang = "All Photos"
jqueryinject = "yes"
thumbnail = "true"
caption = "true"
desc = "true"
counter = "true"
controls = "true"
preload = "1"
mode = "lg-slide"
speed = "600"
loop = "true"
auto = "false"
pause = "2000"
escKey = "true"
height = "70"
width = "100"
==
<!-- Gallery -->
<div class="container-fluid">
  <div class="row">
    <!-- Make your own style div wrapper for gallery -->
    <div class="col-md-6 col-md-offset-3 col-xs-12">
      {% component 'gallery' %}
    </div>
  </div>
</div>
<!-- End Gallery -->