Skip to content

alphanodes/redmine_lightbox

 
 

Repository files navigation

Redmine Lightbox

Run Linters Run Tests

This plugin lets you preview image (JPG, GIF, PNG, BMP) and PDF attachments in a lightbox based on GLightbox.

Requirements

  • Redmine 6.1 or higher
  • Ruby 3.2 or higher

Installation and Setup

For Redmine 6.1 or higher

  • Clone this repo into your redmine_root/plugins/ folder

    cd redmine
    git clone https://github.com/alphanodes/redmine_lightbox.git plugins/redmine_lightbox
    bundle config set --local without 'development test'
    bundle install
  • Restart Redmine

For Redmine versions before 6.1

If you are using Redmine 5.0 - 6.0, install the stable branch which uses Fancybox 3.5.7:

cd redmine
git clone -b stable https://github.com/alphanodes/redmine_lightbox.git plugins/redmine_lightbox
bundle config set --local without 'development test'
bundle install
  • Restart Redmine

Contribution and usage

If you use our fork and have some improvements for it, please create a PR (we can discuss your changes in it).

Credits

This is a fork of redmine_lightbox2, which was a fork of redmine_lightbox plugin. Credits goes to @tofi86 and @zipme and all other distributors to these forks!

License

redmine_lightbox plugin is developed under the MIT License.

About

Lightbox for image attachments in Redmine

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • Ruby 62.3%
  • JavaScript 35.0%
  • CSS 2.7%