Reputation: 113
I have a requirement of capturing person image using camera and storing in IBM Notes native database and displaying it a field / area on front end (on xpage). Can I achieve this functionality in xpages? Supported equipment e.g. camera?
Can you please guide me is this possible? If yes how it's possible for both thick and thin client.
Thanks in advance,
Best Regards, Qaiser
Upvotes: 0
Views: 249
Reputation: 3757
If you want to do this using a web application/ XPage (and not an app) you can't access the camera directly. However, if you use a file upload control on a mobile device (Android or iOS smartphone or tablet), it will ask you if you want to select a picture from the local gallery or take a picture.
I would use that feature to take and immediately upload the picture to the database. I recently wrote an article how to accomplish that using DropzoneJS: that plugin allows you to add for example a button to your XPage that says "Take picture" and immediately upload it to your Domino database once the picture is taken.
Upvotes: 1