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

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -