projectblacklight/blacklight-gallery

Name: blacklight-gallery

Owner: Project Blacklight

Description: Gallery views for Blacklight

Created: 2014-01-28 20:35:43.0

Updated: 2018-02-19 16:49:44.0

Pushed: 2017-11-28 19:57:40.0

Homepage:

Size: 521

Language: XSLT

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Blacklight::Gallery

Gem Version

Gallery views for Blacklight search results

Installation

Add this line to your Blacklight application's Gemfile:

gem 'blacklight-gallery'

And then execute:

$ bundle

Or install it yourself as:

$ gem install blacklight-gallery
Usage

Run the gallery generator:

$ rails g blacklight_gallery:install
Available Views

If you would like to add or remove any particular view either add or remove the following configurations from your Blacklight controller.

Gallery
config.view.gallery.partials = [:index_header, :index]
Masonry
config.view.masonry.partials = [:index]
Slideshow
config.view.slideshow.partials = [:index]
Screenshot

Screenshot

Contributing
  1. Fork it ( http://github.com//blacklight-gallery/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.