OdooWiki OCA HUB

Web Widget - Image WebCam

web_widget_image_webcam folder_open OCA/web open_in_new
web License: LGPL-3

This module extends the functionality of the image widget and allows to take snapshots with WebCam.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Adds a WebCam button to image fields in Odoo so users can take a photo with their camera and save it directly into the record.

This module adds a small camera button next to image fields in Odoo forms. When a user clicks it, a "WebCam Booth" dialog opens showing a live camera preview and a placeholder image.

  • The dialog has three buttons: "Take Snapshot", "Save & Close" and "Close".
  • "Take Snapshot" captures the current camera image and shows it next to the live preview.
  • "Save & Close" is disabled until a snapshot has been taken; once clicked, the captured photo is saved into the image field as a JPEG file named "web-cam-preview.jpeg".
  • Closing the dialog stops the camera preview.

The module works on any image field in Odoo, because it extends the standard image widget. It also reads a system setting called web_widget_image_webcam.flash_fallback_mode through the ir.config_parameter model; when this setting is set to "1", the camera uses a Flash fallback mode. No new menus or screens are added; the feature appears directly inside existing forms wherever an image can be uploaded.

Depends on

web
Models and fields (1)
  • ir.config_parameter · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 3 confirmed, 6 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 16.0

By default, the module works with all major browsers.

An important note for Chrome 47+ users - this module only works with websites delivered over SSL / HTTPS. Visit this for more info.

But, If you still want this module to work with websites without SSL / HTTPS. Here is the steps to do it easily (Always run in Adobe Flash fallback mode, but it is not desirable).

Set the configuration parameter web_widget_image_webcam.flash_fallback_mode to 1 (note that configuration will be applied after browser reload).

Its done! Now this module also work with websites without SSL / HTTPS.

No verified information in OCA: Installation, Usage.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.