A sample rails application that uses the excellent image handler Dragonfly, and Jcrop for selecting the cropping area.
JavaScript Ruby
Latest commit a960185 Sep 4, 2010 @jschwindt Validates users name
Permalink
Failed to load latest commit information.
app
config Added crop action that allows to recrop the image Mar 15, 2010
db
doc Initial commit Mar 15, 2010
public Initial commit Mar 15, 2010
script Initial commit Mar 15, 2010
test
.gitignore
README.rdoc
Rakefile Initial commit Mar 15, 2010

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