**Check the XProtect MIPlogs**
[C:\ProgramData\Milestone\XProtect Event Server\logs\MIPLogs\MIP(date).log]
Look for this SERVER Error.
`INFO - S2AccessControl.c SERVER Error - GetPicture failed: FAIL, ApiError: 0, ErrMsg: Person picture image file size exceeds maximum to be returned/exported`
[REF: Lenel S2 Netbox API documentation.]
![[z_img/e17989f77980fd7dc20bd9bdb16d31a1_MD5.jpeg]]
Currently the image is converted into a Base64-encoded string, and limiting to **120KB**.
### Scale down image sizes
For this example I have 9 images, averaging 2MB each, 18.1MB total.
![[z_img/4866be080b22dad55b49593f927d85f3_MD5.jpeg]]
For this example we have used [Caesium - Image Compressor](https://saerasoft.com/caesium/) (Free to use Local Install Tool)
1. Add the folder of images
![[z_img/99dfbc1cf14d5312f632be4ba3510ac3_MD5.jpeg]]
2. Set Compression to Mode [Size] - Maximum output size [120] - [KB]
![[z_img/a3a7f66a041747172f8cc09e6333a6b9_MD5.jpeg]]
3. Set Resize to Mode [Width] - Width [640px]
![[z_img/fefd4fc80e7f9759dbf3c2cf1f630d3e_MD5.jpeg]]
4. Add an Output folder
5. Format [Same as input] - Suffix [-small]
![[z_img/a106cd8880ab83b226d04bcf5e200165_MD5.jpeg]]
6. Press Compress to run
In this example we saved 94%, all images are under 120KB. Select an image and zoom in to see limited quality loss.
![[z_img/6eecb9cb4cb1ce5d76881e6671467270_MD5.jpeg]]
Update your images with the files within the output file. Average file size 114KB, total 1.03MB for 9 images.
![[z_img/ba018457505a1e0e4700ef1ca569a205_MD5.jpeg]]