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
Post a Comment