Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Rails 3 - Ajax Upload + Crop with Paperclip
Branch: master

This branch is 4 commits behind apneadiving:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
doc
lib/tasks
public
script
test
vendor/plugins
.DS_Store
.gitignore
Gemfile
Gemfile.lock
README.rdoc
Rakefile
config.ru

README.rdoc

Rails 3 - Ajax Upload + Crop with Paperclip

Branch Master:

Using this great plugin: github.com/blueimp/jQuery-File-Upload

Still needs error handling + delete picture.

Branch Uploadify:

Implementation of Uploadify in Rails3 + crop in Ajax.

To make it work:

Uploadify works well for multiple files handling.

  • in profiles/_form, set multi to true

  • in pictures controller, remove the test of previous picture existence in create

You'll see that all pictures are stored (I didn't bothered to display them for now)

More info:

I added 'ADD THIS' in the relevant files It's NOT a social app so user model is a fake as well as profile

Something went wrong with that request. Please try again.