Example for use Lift ajax, drag&drop file upload, store in mongodb GridFS and serve to browser.
build project with sbt:
2.1 cd lift_monog_ajax_file_upload/
in browser go http://localhost:8080/file-upload
on page use manual download form or drop image on place "Drop image here"
For more details see:
- jQuery File Upload Plugin https://github.com/blueimp/jQuery-File-Upload
- Casbah scala mongodb driver https://github.com/mongodb/casbah
- Example with valums file uploader (https://github.com/valums/file-uploader) - https://github.com/timperrett/lift-file-uploader
- Example ajax upload with comet https://github.com/mbk/ajaxupload_with_comet
- Yet another example ajax upload https://github.com/dpp/starting_point/tree/ajax_upload
Have a nice day or night!