Skip to content

WheelhouseCMS/wheelhouse-prettyphoto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PrettyPhoto Plugin for Wheelhouse CMS

This gem allows you to easily integrate the prettyPhoto lightbox into your Wheelhouse CMS templates.

Installation & Usage

1. Add wheelhouse-prettyphoto to your Gemfile:

gem "wheelhouse-prettyphoto"

Then run bundle install.

2. Include the prettyPhoto assets in your template:

<%= prettyphoto_assets %>

3. Invoke the prettyPhoto JavaScript:

<script type="text/javascript">
  $(function() {
    $('a[rel="prettyPhoto[portfolio]"]').prettyPhoto({
      slideshow: false,
      show_title: false,
      overlay_gallery: false,
      deeplinking: false,
      social_tools: false
    });
  });
</script>

About

PrettyPhoto plugin for Wheelhouse CMS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages