Cropper::Rails
Jquery Cropper for Rails assets pipeline.
Installation
This gem packs cropper (jquery version) and makes it available for rails assets pipeline. Add this gem and jquery-rails to your application's Gemfile:
gem 'jquery-rails'
gem 'cropper-rails'
And then run bundle install
.
Next add jquery and cropper to your assets:
app/assets/javascripts/application.js
//= require jquery
//= require cropper
app/assets/javascripts/application.css
/*
*= require jquery
*= require cropper
*/
Usage
Read more about usage here
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request