How to Let Customers Upload Images on WooCommerce Product Pages

WooCommerce does not let customers upload a file on the product page out of the box. To accept a photo, logo or artwork before Add to cart, you need a plugin that adds an upload field to the product. This guide shows how to set it up with our free plugin, NDV Product Image Upload for WooCommerce, which is listed on WordPress.org. It also covers the rules you can set per product and how the uploaded files are kept safe.

Can customers upload an image on a WooCommerce product page?

Yes, but only with an extension. WooCommerce core has no customer upload field, so stores that sell personalised products add one with a plugin. NDV Product Image Upload adds an upload button to the products you choose. Customers can upload images or PDFs, crop them, and then add the product to the cart. The files stay attached to the cart item and the order.

Typical stores that need this:

  • Custom T-shirts and apparel, where the customer supplies the design
  • Photo products such as mugs, prints and photo books
  • Logo printing and custom artwork
  • Wedding and event stationery

How do I add an image upload field to a WooCommerce product?

Install the free plugin, then create an upload configuration for each product that should accept files. The whole setup takes a few minutes:

  1. Make sure WooCommerce is installed and active.
  2. In WordPress, go to Plugins → Add New, search for NDV Product Image Upload, then install and activate it. You can also download it from its WordPress.org page.
  3. Open NDV Image Upload in the admin menu and click Add Configuration.
  4. Pick the product. Set how many files are required, the maximum file size, the allowed file types, and the button text and colour.
  5. Save, then open the product page to test an upload.

Products without their own configuration fall back to your Default Settings, so you can set sensible rules once and only override them where needed.

Which file types and rules can I set per product?

Each product can have its own rules:

  • File types: JPG, JPEG, PNG, GIF, WEBP and PDF, each one switchable per product.
  • Required file count and maximum file size.
  • Resolution checks: optional minimum and maximum image dimensions, so print products don’t receive blurry files.
  • Lock quantity to 1: stops a customer ordering several units of a product they uploaded one design for.

Two store-wide controls help too. You can hide express checkout buttons (Apple Pay, Google Pay, PayPal Express) on product pages, so customers don’t skip the upload step. You can also auto-delete uploaded images from completed, cancelled or refunded orders after a number of days you choose.

Can customers crop the image before adding it to the cart?

Yes. The plugin includes a cropping tool built on Cropper.js. You can offer shape presets (square, rectangle, circle and heart) or a fixed aspect ratio, and customers can zoom, rotate and flip the image. This matters for products with a fixed print area, such as a round badge or a square tile.

Do customers need an account to upload?

No. Guests can upload with a temporary session, and logged-in customers work the same way, so nobody has to create an account just to personalise a product.

How are customer uploads kept secure?

Accepting files from the public is a security risk if it’s done carelessly. The plugin takes these steps:

  • Every file is checked by type, size and content, including a scan for executable code.
  • Filenames are randomised, and files are stored in a protected folder outside the media library.
  • Files are served through a tokenised link instead of a public URL.
  • A short cooldown between guest requests helps deter abuse.

On Apache and LiteSpeed the folder is protected automatically with an .htaccess rule. Nginx ignores .htaccess, so add this rule to your server block:

location ^~ /wp-content/uploads/custom_product_images/ { deny all; return 403; }

The plugin also supports WooCommerce High-Performance Order Storage (HPOS).

What does the Pro version add?

The free plugin is fully functional on its own. The Pro add-on runs on top of it and is aimed at stores with many products or paid personalisation.

FeatureFreePro
Image and PDF uploads with croppingYesYes
Per-product rules and default settingsYesYes
Guest uploads and secure file handlingYesYes
Per-upload pricing and feesNoYes
Bulk settings for many productsNoYes
Import and export settings as JSONNoYes
Security log dashboardNoYes
Elementor upload widgetNoYes

Pro costs $25 a year for one site, $50 a year for five sites, $70 a year for unlimited sites, or $209.99 once for unlimited sites for life. There is a 7-day free trial. See the NDV Image Upload product page for details and the documentation for every setting.

Need a custom upload flow?

Some stores need more than an upload button: a live product preview, print-ready file checks, or files sent straight to a print partner. We build custom WooCommerce features like these. Tell us what your store needs and we’ll send a fixed quote.

Need help with your website or app?

We build and look after WordPress and WooCommerce websites, mobile apps and AI automations. Tell us what you need and get a free consultation.

Let's discuss your project

We are committed to understanding your requirements and crafting a tailored solution that aligns with your goals.

Enter your details and someone from our team will reach out to find a time to connect with you.

Talk to a Specialist