0

using

<input type="file" accept="image/*"> 

I want to know if the picture has been browsed or taken with the camera on a mobile device.

Is there a way to get this information using javasript ?

papps
  • 109
  • 1
  • 12
  • Does this answer your question? [Extracting EXIF data with JavaScript](https://stackoverflow.com/questions/27061122/extracting-exif-data-with-javascript) – DCCoder Oct 02 '20 at 18:20
  • Very interesting but it doesn't seem to give the origin of the photo. – papps Oct 05 '20 at 14:28
  • That would be included in EXIF data. Can you show what you have done or what you have tried? Be sure to read [How do I ask a good question?](https://stackoverflow.com/help/how-to-ask) here on SO. – DCCoder Oct 05 '20 at 16:20

0 Answers0