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.