On a computer, your members no longer need a photo of themselves at hand to fill in a photo field: they can take it with their webcam, without leaving the form.
1. The "Take a photo" button
Wherever a photo field is shown, such as the ID photo of a registration or accreditation form, a Take a photo button now shows next to Select a file. There is nothing to turn on: it appears on computers, in browsers that support webcams.
2. Take the photo
After a click on Take a photo, the browser asks for permission to use the camera. Once access is granted, the webcam image shows up, mirrored. The member faces the screen and clicks Capture. Cancel closes the window, and the camera turns off when it closes.
3. Crop and confirm
The photo then goes through the usual cropping tool: adjust the frame around the face, then click Submit. The photo is added to the field, exactly like a photo uploaded from a file.
Good to know
The button only shows on computers. On phones and tablets, "Select a file" already offers to open the camera.
If camera access is denied or no camera is available, the window shows an error message. The member can then allow the camera in their browser settings, or upload a file.
If you embed a form on your website in an iframe, add the
allow="camera"attribute to the<iframe>tag: without it, the browser blocks camera access.
Any questions? Write to us from the WeezCrew chat.