javascript - Dropzone.js as a profile photo uploader. How to do it? -
i have form edits user profile, , want async profile photo upload. layout looks this:

the behaviours have have are:
- dropzone should load current photo server (done, used mockfile , working);
- i'd disable drag/drop functionality, don't know if possible;
- to change picture, user should click "change pic" button , dropzone should open "browse..." window, user selects photo , when click ok dropzone should automatically remove mockfile, change thumbnail , upload new picture asynchronously.
anyone me this?
Comments
Post a Comment