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

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -