Magnifierjs::Rails
This gem is a drop-in solution for an image magnifier looking like this:

Installation
Add this line to your application's Gemfile:
gem 'magnifierjs-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install magnifierjs-rails
Usage
magnifierjs will look for an image with the id magnifierjs-image and an
attribute data-magnifierjs-zoomimage, containing a URL to a larger version of the same image.
It will then display a magnifying glass with the larger image on hover.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request