A sample rails application that uses the excellent image handler Dragonfly, and Jcrop for selecting the cropping area.
JavaScript Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
public
script
test
.gitignore
README.rdoc
Rakefile

README.rdoc

Dragonfly crop

This project shows how to crop images using Jquery's Jcrop and the new kid in the block for image handling in Rails: Dragonfly.

Dragonfly: github.com/markevans/dragonfly

JCrop: deepliquid.com/content/Jcrop.html

It follows the same idea of my previous project RJCROP: github.com/jschwindt/rjcrop

Downloading and testing the application

git clone git://github.com/jschwindt/dragonfly_crop.git
cd dragonfly_crop
sudo rake gems:install
rake db:migrate
./script/server

Author

Juan Schwindt juan(at)schwindt.org