**圖片上傳(image)**
| 參數 | 類型 | 必須 | 默認 | 說明 |
|----|--------|-----|------|------|
| type| string | y | 空 | 固定值:image |
| name| string | y | 空 | 字段名稱 |
| id | string | y | 空 | id屬性 |
| title | string | n | 空 | 字段標題 |
| placeholder | string | n | 空 | 輸入預期提示 |
| tips| string | n | 空 | 提示說明 |
| value | string | n | 空 | 字段默認值 |
| onSuccess | string | n | 空 | 上傳成功回調 |
| onError | string | n | 空 | 上傳失敗回調 |
| onComplete | string | n | 空 | 全部上傳完成 |
| multiple | bool | n | false | 是否可選擇多個值 |
| autofocus | bool | n | false | 自動獲得焦點屬性 |
| readonly | bool | n | false | 字段只讀屬性 |
| disabled | bool | n | false | 字段禁用屬性 |
| required | bool | n | false | 必須輸入值屬性 |
| class | string | n | row form-group | class屬性<br>row<br/>form-row<br/>form-group<br/>form-check<br/>form-check-inline<br/>disabled<br/>d-block<br/>align-items-center<br/>custom-control<br/>custom-control-inline<br/>custom-select<br/>custom-checkbox<br/>custom-switch<br/>custom-radio<br/>custom-select-sm<br/>custom-select-lg |
| class_left | string | n | col-md-2 | class屬性<br>col<br>col-12<br>col-form-label-sm<br/>col-form-label-lg<br/>sr-only |
| class_right| string | n | col-md-6 | class屬性<br>col<br>col-12<br>col-auto |
| class_right_control | string | n | form-control form-control-sm | class屬性<br>form-control<br>form-control-sm<br>form-control-lg<br>is-valid |
| class_tips | string | n | form-text text-muted | class屬性<br>form-text |
**示例代碼**
```
{:DcBuildForm([
'items'=>[
[
'type'=>'image',
'name'=>'dc_image',
'id'=>'dc_image',
'title'=>'image',
'placeholder'=>lang('image'),
'tips'=>'',
'value'=>'18/8573067dd9950dfee1d462012bc8416998a1e2.png',
'onSuccess'=>'daicuo.form.upSuccess',
'onError'=>'daicuo.form.upError',
'onComplete'=>'daicuo.form.upComplete',
'multiple'=>true,
'autofocus'=>false,
'readonly'=>false,
'disabled'=>false,
'required'=>false,
'class'=>'row form-group',
'class_left'=>'col-12',
'class_right'=>'col-12',
'class_right_control'=>'',
'class_tips'=>'',
],
]
])}
```