javascript - save and display image captured from input type=file -


i have webpage capture image available camera feature. web version places video capture onto canvas. phone, using <input class="btn btn-info" type="file" accept="image/*" id="cameracapture" capture="camera"> capture picture. asks user either capture image using phone's camera or upload filesystem/gallery etc. once image clicked places image's name next button. there way access image , display in same page.

thanks in advance

you can js using filereader object.

take @ answer: preview-an-image-before-it-is-uploaded

i hope helps


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -