# system.kanoa.quality.image.addImage(chkItemId, imageName, imageType, imageDescription, image, thumbnail, userId)

Inserts an image into the qds.image table

---
### Parameters
**chkItemId** `Integer`: Can be None<br />
**imageName** `String`: Name of image<br />
**imageType** `String`: Type of image<br />
**imageDescription** `String`: Description of image<br />
**imageBytes** `byteArray`: The image in byteArray format<br />
**thumbnail** `byteArray`: Thumbnail of image in byteArray format<br />
**userId** `Integer`:Id of the user executing the function<br />

---
### Returns
**imageId** `Integer`<br />

---
### Example
```python
```
