> For the complete documentation index, see [llms.txt](https://minimateapps.gitbook.io/mini-image-upload-and-file-upload/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://minimateapps.gitbook.io/mini-image-upload-and-file-upload/how-to.../how-to-configure-your-upload-settings.md).

# How to configure your upload settings

The **Upload rules** tab gives you full control over what customers can upload and how the upload field behaves. You can add as many rules as you need, and they fall into three groups: **File requirements**, **Customer experience**, and **Pricing**.

* Please go to the "Upload Rules" tab while creating a field
* Click "Add a rule" button to see the available options

<figure><img src="/files/YmboFx8MVb5K3o046gKf" alt=""><figcaption></figcaption></figure>

#### **File requirements**

These rules control what kind of files customers can upload.

* **File size limit** — Cap how large each upload can be. Useful for preventing oversized files that slow down processing.
* **Allowed file types** — Restrict uploads to specific formats (e.g. JPG, PNG, PDF only). Helps you receive files in formats you can actually use.
* [**File count limit** ](/mini-image-upload-and-file-upload/how-to.../how-do-i-allow-customers-to-upload-multiple-images.md)— Allow multiple uploads with a minimum and maximum count. Use the minimum to make uploads required, and the maximum to cap how many files a customer can send.
* **Image dimensions** — Set minimum and maximum pixel size for uploaded images. Ideal for print-quality requirements or blocking very small images.

#### **Customer experience**

These rules control how the upload field appears and behaves for the customer.

* **Image editor** — Let customers crop their image before uploading. Supports free-form, square-only, circle-only, and aspect ratio cropping.
* **Image preview** — Show the upload back to the customer so they can confirm the file before adding to cart.
* [**Required upload** ](/mini-image-upload-and-file-upload/how-to.../how-to-make-uploads-optional-or-required.md)— Make the upload mandatory. Customers must upload a file before they can add the product to cart.

#### **Pricing**

* [**Customization fee** ](/mini-image-upload-and-file-upload/how-to.../how-to-set-up-an-add-on-price-for-image-upload-fields.md)— Add an extra charge when customers use the upload field. The fee is added to the cart via Cart Transform as either a separate add-on product or a bundled charge.

<figure><img src="/files/Y2OgRB482odzgsEOfP6h" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
You can combine multiple rules on the same field. For example, you might require uploads (Required upload) + restrict to images only (Allowed file types) + cap files at 5 (File count limit) + charge a $5 fee (Customization fee).
{% endhint %}

{% hint style="warning" %}
Each rule has its own dedicated guide with full setup details. We recommend starting with one or two rules first to test the customer experience, then layering on more as needed.
{% endhint %}

#### 📹 Watch: Upload Rules

{% embed url="<https://youtu.be/n7n2T2kc4CY?si=6mhDKOaKAypYuC3V&t=236>" %}
