跳到内容

HDWebmobile Photo & Video Reviews

v1.0.0

HDWebMobile · 2026年11月24日 上架

Let customers attach photos and short videos to their WooCommerce product reviews, shown right in the review list.

正在使用
10 以下
评分
暂无
累计下载
58
最近更新
2026年11月25日
需要 WordPress 6.9+已测试到 7.1.5PHP 7.4+

贡献者

截图

The photo/video upload field added to WooCommerce's native "Add a review" form.
The photo/video upload field added to WooCommerce's native "Add a review" form.
A submitted review showing an uploaded photo thumbnail gallery.
A submitted review showing an uploaded photo thumbnail gallery.
The Photo & Video Reviews settings tab under WooCommerce > HDWebmobile.
The Photo & Video Reviews settings tab under WooCommerce > HDWebmobile.

HDWebmobile Photo & Video Reviews adds an optional photo/video upload field to WooCommerce’s own native product review form. Uploaded media is attached to the review and displayed in the review list on the product page, giving shoppers visual, customer-submitted proof alongside the star rating and written review.

Security by design

A serious class of bug in review-media tools is a standalone AJAX action for uploading review photos that performs no authentication, capability, or nonce check at all, letting any unauthenticated visitor upload arbitrary image/video files straight into the Media Library. This plugin closes that entire vulnerability class by construction rather than patching around it:

  • There is no standalone “upload media” endpoint of any kind, AJAX or otherwise. A file is only ever processed as a side effect of a genuine WordPress comment submission going through wp-comments-post.php — WordPress’s own comment pipeline (spam checks, Akismet if installed, moderation) — never a bespoke always-open surface.
  • A product-scoped nonce, generated with the review form and verified before any file is touched, is required in addition to that.
  • Media is only ever attached to a comment that is confirmed to be a genuine WooCommerce product review (the comment’s parent post is actually a product), never any other comment type.
  • Every upload goes through wp_handle_upload() — WordPress’s own vetted upload handler — with an explicit image/video mime allow-list, never a hand-rolled file-move.
  • If the store requires a verified purchase to leave a review at all, media is only attached for reviewers who actually bought the product, mirroring WooCommerce’s own review-gating setting.

Key Features

  • Optional photo (JPG, PNG, GIF, WebP) and video (MP4, WebM, MOV) upload field added to the native WooCommerce review form — no separate submission flow
  • Up to a configurable number of files per review (default 3), each with its own configurable size cap for photos and videos separately
  • Uploaded photos display as a thumbnail gallery (click to view full size); videos display as an inline HTML5 player, directly under the review text
  • Video uploads can be turned off entirely to accept photos only
  • Respects WooCommerce’s own “verified purchase required to review” setting

Limitations (please read before installing)

  • No moderation queue beyond WordPress’s own comment moderation — if a review is held for moderation, its media is still attached but won’t display publicly until the review itself is approved
  • No client-side image compression/resizing — large photos are stored at their original resolution (subject to the configured size cap)
  • One combined multi-file field for both photos and videos — there is no separate “photos only” vs “video only” field in the UI

Enjoying this plugin?

If it helps your site, please consider leaving an honest review on WordPress.org — it helps other WordPress users find it. Found a problem or have an idea? Please open a support topic first so it can be fixed.

How to Use

1. No setup required to start collecting media reviews

As soon as the plugin is active, the “Add a review” form on every product page shows a file field for photos/videos, in addition to WooCommerce’s own rating and review-text fields. There’s nothing to configure to turn this on.

2. What a customer sees

They pick up to the configured number of photos/videos alongside writing their review as normal, and submit. No separate step, no extra page.

3. What shoppers see afterward

Uploaded photos appear as small thumbnails under the review text — click one to view it full size in a new tab. Any uploaded video appears as a standard playable video directly under the review.

4. Adjusting limits

Go to WooCommerce > HDWebmobile > Photo & Video Reviews to turn video uploads on/off, change the maximum number of files per review, and set separate size caps (in MB) for photos and videos.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums