4.8.4 • Published 6 months ago

blacklight-gallery v4.8.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
6 months ago

Blacklight::Gallery

Gem Version CI

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 for Sprockets:

$ rails g blacklight_gallery:install

Or for node based bundlers add blacklight-gallery masonry-layout@v4 as a dependencies and add this to your entrypoint:

import 'blacklight-gallery/vendor/assets/javascripts/imagesloaded.pkgd.js'
import 'blacklight-gallery/app/javascript/blacklight-gallery/slideshow'
import 'blacklight-gallery/app/javascript/blacklight-gallery/masonry'

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

Releasing

  1. Edit lib/version.rb and package.json to set the new version
  2. Commit the changes e.g. git commit -am "Bump version to X.X.X"
  3. Push release to rubygems bundle exec rake release
  4. Push release to NPM npm publish
  5. Create a release on github with the tag that was just created: https://github.com/projectblacklight/blacklight-gallery/releases/new
4.8.4

6 months ago

4.8.3

6 months ago

4.8.2

6 months ago

4.8.1

6 months ago

4.8.0

6 months ago

4.7.0

7 months ago

4.6.4

7 months ago

4.6.3

7 months ago

4.5.2

10 months ago

4.5.4

10 months ago

4.5.3

10 months ago

4.5.0

12 months ago

4.3.0

2 years ago

4.2.0

2 years ago

4.0.2-beta.1

2 years ago