Re: Dropzone.js and images POST on new object

2015-02-10 Thread Karim
On Tue, Feb 10, 2015 at 7:25 PM, James Schneider wrote: > I wouldn't store binary data like an image in a session, especially if you > have a DB-backed session system. > > ​[] > > ​Thank you James.​ -- Karim N. Gorjux -- You received this message because you are subscribed to the Google

Re: Dropzone.js and images POST on new object

2015-02-10 Thread James Schneider
I wouldn't store binary data like an image in a session, especially if you have a DB-backed session system. I would instead use a separate model just for the images so that they can be created on the fly by dropzone via an API call, and then you can save the ID of the image object in the session (

Dropzone.js and images POST on new object

2015-02-09 Thread Karim
Hello mates! I tried dropzone.js on my app and everything worked fine. Now I want to use it in a view that loads a form for tthe creation of a new object. The dropzone where the user drop the images should load the images on the server instantly and not when the user submit the form. This approach