Web cam Addon for Contact Form 7

外掛說明

Webcam Addon for Contact Form 7 is a lightweight plugin that enables site visitors to take a snapshot with their webcam or phone camera and send that image along with their Contact Form 7 submission.

Key features:
* Easy shortcode: add [camera] anywhere in your Contact Form 7 form to show the camera UI.
* Captured image is embedded in the email sent by Contact Form 7.
* Mobile and desktop compatible (uses device camera when available).
* Minimal setup — no external services, images are embedded in email as an <img /> tag.

Usage

1) Place [camera] inside your Contact Form 7 form where you want the camera widget to appear.

Example form:

Your name
[text* your-name]
Your email
[email* your-email]
Subject
[text* your-subject]
Message (optional)
[textarea your-message]
[camera]

[submit “Submit”]

2) Mail tab example (use HTML content type):

Name: [your-name]
Email: [your-email]
Message: [your-message]
Image:

Support

If you need help, please open a support thread on the plugin page or contact me via my Upwork profile: https://www.upwork.com/freelancers/~018f06972fe4607ad0

安裝方式

  1. Upload the plugin folder to /wp-content/plugins/ or install via SVN (trunk).
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Edit your Contact Form 7 form and add the [camera] shortcode where you want the camera to appear.
  4. In the Mail tab of the form, include the marker that will contain the image:
  5. Make sure the Use HTML content type checkbox is checked in the Mail tab (otherwise images will not display).

常見問題集

I don’t see the camera on mobile/desktop.

Make sure your browser allows camera access and that the page is served over HTTPS (some browsers block camera access on insecure pages).

The image is not included in the email.

Ensure “Use HTML content type” is enabled in the Mail tab. Also confirm you included in the mail body.

Can users upload files instead of using the camera?

This addon is focused on capturing images via camera. If you need file upload features, consider using a separate file-upload plugin or custom Contact Form 7 fields.

使用者評論

2023 年 6 月 12 日
Simply copied and pasted into a “plugin” the WebcamJS example. At least add the option to switch the camera between front and back, image resolution, etc. …
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Web cam Addon for Contact Form 7〉的開發相關工作。

參與者

變更記錄

3.0

Security fixes and stability improvements.

UI/UX improvements for camera widget.

Fixed intermittent output issues and improved mobile camera support.

1.0

Initial release.