How to Use Dokan Kits Vendor Product Image Upload Limit

The Dokan Kits Vendor Product Image Upload Limit add-on is configured from the Product Images subsection in Dokan Kits.

It helps you control:

  • image dimensions
  • image file size
  • maximum gallery image uploads
  • vendor-facing requirement notice

Enable Feature in Dokan Kits

Use this exact path in wp-admin:

WP Admin -> Dokan Kits -> Features -> Product -> Product Images

Then configure these toggles to enable restrictions:

  • Enable Image Dimensions Restrictions
  • Enable Size Restrictions
  • Enable Maximum Upload Restrictions

Click Save Changes after turning on the settings you need.

Feature Navigation Path

Use this exact settings path:

WP Admin -> Dokan Kits -> Features -> Product -> Product Images

The subsection label is Product Images and it appears with the Premium Feature badge.

Configure Product Images Settings

In Product Images, use these exact field labels:

  • Enable Image Dimensions Restrictions
  • Minimum Image Width
  • Minimum Image Height
  • Enable Size Restrictions
  • Maximum Image Size
  • Enable Maximum Upload Restrictions
  • Maximum Image Upload
  • Show Image Requirements Notice

Field Behavior

  • Minimum Image Width and Minimum Image Height are used when Enable Image Dimensions Restrictions is on.
  • Maximum Image Size is used when Enable Size Restrictions is on.
  • Maximum Image Upload is used when Enable Maximum Upload Restrictions is on.
  • Show Image Requirements Notice displays a notice on the vendor product edit page.

What Vendors Will See

When notice display is enabled, vendors see Image Requirements: with lines like:

  • > Image dimensions must be exactly {width}x{height} pixels
  • > Max. image file size: {size} MB
  • > Max. gallery images upload limit: {count}

When uploads do not match rules, vendors may see messages like:

  • Image dimensions must be exactly %1$dx%2$d pixels. Your image is %3$dx%4$d pixels.
  • Image file size must be less than %1$s. Your file is %2$s.
  • You have reached the maximum number of images allowed to upload.

Recommended Setup

For balanced quality and performance:

  • Turn on Enable Image Dimensions Restrictions
  • Set Minimum Image Width and Minimum Image Height to your catalog standard
  • Turn on Enable Size Restrictions and set Maximum Image Size
  • Turn on Enable Maximum Upload Restrictions and set Maximum Image Upload
  • Keep Show Image Requirements Notice enabled

Testing Checklist

After saving:

  1. Log in as a vendor.
  2. Open Vendor Dashboard -> Products -> Add New Product (or edit a product).
  3. Confirm Image Requirements: notice appears (if enabled).
  4. Upload a valid image and confirm it works.
  5. Upload an image with invalid dimensions and confirm validation error appears.
  6. Upload an oversized file and confirm validation error appears.
  7. Try exceeding Maximum Image Upload and confirm limit message appears.

Troubleshooting

Product Images Section Not Visible

  • Confirm the add-on plugin is active
  • Confirm premium license is active
  • Open Dokan Kits -> Features -> Product

Restrictions Not Applying

  • Confirm at least one of these is enabled:
    • Enable Image Dimensions Restrictions
    • Enable Size Restrictions
    • Enable Maximum Upload Restrictions
  • Click Save Changes again
  • Clear caches and retest as vendor

Notice Not Showing

  • Turn on Show Image Requirements Notice
  • Confirm you are on vendor product edit/add screen

FAQs

Q: Where do I enable this feature in Dokan Kits?
A: Go to WP Admin -> Dokan Kits -> Features -> Product -> Product Images and enable the restriction toggles.

Q: Which field limits gallery image count?
A: Maximum Image Upload (requires Enable Maximum Upload Restrictions).

Q: Which field limits file size?
A: Maximum Image Size (requires Enable Size Restrictions).

Q: Which fields control dimensions?
A: Minimum Image Width and Minimum Image Height (requires Enable Image Dimensions Restrictions).

Premium add-ons

Product Catalog Mode

A Dokan Kits add-on for WooCommerce marketplaces using Dokan. It lets marketplace owners offer an admin-managed product catalog that...

View details