With this gem you can add cropping functionality into Alchemy Cms Image library
In Alchemy Image Library, when you click on an image, on the left you can see a botton: enable editor.
You can click on this button that enable editor panel.
You can crop, zoom in and zoom out the image and save as new image.
When the new image is saved, a tag with its size is added.
The original image tags are kept
Add this line to your application's Gemfile:
gem 'alchemy-crop-image', github: 'ArchimediaZerogroup/alchemy-crop-image', branch: 'master'
And then execute:
$ bundle
Run the generator
$ bin/rails g alchemy:crop:image:install
- Add tests with rspec
You can contribute by forking the project and making merge requests
The gem is available as open source under the terms of the MIT License.