Question

This is probably a super dumb question but I'm trying to get Dropzone Image Upload rails gem working and I'm not sure what to do next. https://github.com/ncuesta/dropzonejs-rails

I've followed the readme. I installed the gem

gem 'dropzonejs-rails'

included the JS

//= require dropzone

and included the CSS

/*
  *= require dropzone/dropzone
*/

What now? Don't I have to give a html element an ID or something? Do I have to specify an upload url? Do I need a form? Do I need a model and controller?

Was it helpful?

Solution

You need to read and follow the instructions on this page too. All the rails gem does is make the asset files available.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top