# Media Settings

**Common fields**
| Field | Type | Description
| --- | --- | ---
| id | string | Unique identifier of the setting (e.g., "images", "title").
| label | object {ar,en} | Input label shown to the merchant.
| type | string | Input type (e.g., "text", "textarea", "image", "number", "color", "list").
| default | any | Default value when none is provided.
| icon | text | Optional reference to an icon (e.g. `fal fa-box`).

### Image
**Extra fields**
| Field | Type | Description
| --- | --- | ---
| info | text | Optional informational below upload box.

Allows upload of an image.
```json
{
  "type": "image",
  "id": "image",
  "label": {
    "ar": "صورة",
    "en": "Image"
  },
  "info": {
     "ar": "ارفع صورة بحجم ٢٠٠ *٢٠٠",
     "en": "Upload an image of size 200x200"
   }
}
```

<Accordion title="Output" defaultOpen>
    

![image.png](https://api.apidog.com/api/v1/projects/999650/resources/360047/image-preview)
    
</Accordion>


### Video
**Extra fields**
| Field | Type | Description
| --- | --- | ---
| info | text | Optional informational below upload box.

Allows upload of a video.

```json
{
  "type": "video",
  "id": "video",
  "label": {
    "ar": "فيديو",
    "en": "Video"
  }
  "info": {
     "ar": "mp4 اقصى حجم 10MB",
     "en": "max upload size 10MB"
  }
}
```
