Sha256: a5335b34d896c5637e989fea1dba0c56986ca870a5d7fb6d26cf4f4fcb419fa7
Contents?: true
Size: 1.24 KB
Versions: 1
Compression:
Stored size: 1.24 KB
Contents
# Croppie Rails A gem to automate using [Croppie](http://foliotek.github.io/Croppie) with Rails ## Usage Add this line to your application's Gemfile: ```ruby gem 'croppie_rails' ``` And then execute: $ bundle Or install it yourself as: $ gem install croppie_rails ## Configuration Include javascript file in app/assets/javascripts/application.js: //= require croppie Include stylesheet file on app/assets/stylesheets/application.css: *= require croppie ## Examples Include javascript file in app/assets/javascripts/application.js: //= require demo_croppie and the view ```html <div id="demo-basic"></div> <script type="text/javascript"> Demo.init("YOUR_IMAGE.jpg"); </script> ``` and "Voalá" ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/luizpicolo/croppie_rails. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct. ## Versions croppie_rails: 1.2.0 croppie: 2.1.1 croppie_rails: 1.1.0 croppie: 2.0.1 ## License The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
croppie_rails-1.2.0 | README.md |