Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

blacklight-gallery

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blacklight-gallery

  • 4.6.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

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:

$ 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.

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

FAQs

Package last updated on 24 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc