0.01
No commit activity in last 3 years
No release in over 3 years
This gem wraps fengyuanchen's cropper to be used inside Rails applications.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10
~> 10.0

Runtime

>= 3.1.0
 Project Readme

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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request