Skip to content

coprl/image_crop_presenter_plugin

 
 

Repository files navigation

Image Crop Presenter Plugin

A COPRL presenter plugin to crop images.

Installation

Add this line to your application's Gemfile:

gem 'image_crop_presenter_plugin', git: 'https://github.com/coprl/image_crop_presenter_plugin', require: false

And then execute:

$ bundle

Usage

Example POM:

plugin :image_crop

image_crop image: 'https://cdn.mos.cms.futurecdn.net/4f6d31c116fdada59a5cb16d136e3068-970-80.jpg' do
  event :change do
    # handle the change event here
  end
end

Use the DEMO and view source or to get started with more examples.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/coprl/chart_presenter_plugin.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the COPRL project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

About

A COPRL presenters plugin for image cropping

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 40.8%
  • JavaScript 25.2%
  • CSS 23.2%
  • HTML 10.8%