D
D
Dmitry Evgrafovich2015-02-14 19:18:37
Mobile devices
Dmitry Evgrafovich, 2015-02-14 19:18:37

How to take a photo from the camera on a web page and save it to the server?

It is necessary to make a function for the site, with the help of which the user can take a photo from a tablet (Android or iPad) and save it to the server. I found a function in js getUserMedia, but on the caniuse website it says that this function is not supported by iOS. Has anyone implemented something like this, and if so, how, or is it possible to do this only by writing an application? It’s not easy to figure it out on your own, since there are simply no iOS devices at hand and I won’t be able to test it live. Also, a question about the getUserMedia function - how to send the received image to the server with a minimum amount of code?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Egor Kazantsev, 2015-02-17
@saintbyte

C getUserMedia like this caniuse.com/#feat=stream
Play around with phonegap everything is much better with the camera: docs.phonegap.com/en/4.0.0/guide_support_index.md....

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question