rpip / mod_slideshow

Simple and lightweight image slideshow module for Zotonic

Repository from Github https://github.comrpip/mod_slideshowRepository from Github https://github.comrpip/mod_slideshow

mod_slideshow

Simple and lightweight image slideshow module for Zotonic.

Displays the images in a category as a slideshow.

This module uses the ResponsiveSlides Javascript library.

To use

  • Enable mod_slideshow

  • Create a category for the images, preferably a sub-category of the "images" category

  • Add images to the category

  • Add "js/responsiveslides.js" and "css/responsiveslides.css" libraries to your template file.

    {% lib
         "css/responsiveslides.css"
         "js/responsiveslides.js"
    %}
    
  • Then use {% slideshow category=category_id html_tag=slideshow_html_tag %} For example:

    {% slideshow category="news_headlines_images" html_tag="demo-slides" %}
    
  • Make sure you include the css for the slideshow , and call the plugin on the html element tag as documented on the ResponsiveSlides website. For example:

<script>
  $(function() {
      $(".demo-slides").responsiveSlides();
  });
</script>
  • For more information on styling and the Javascript plugin options, visit the ResponsiveSlides website.

About

Simple and lightweight image slideshow module for Zotonic


Languages

Language:JavaScript 83.5%Language:Erlang 13.1%Language:CSS 3.4%