This article describes how to manage the option to set the photo size in the Create user and Edit user use cases in Smart ID Identity Manager. Read more here: Smart ID Workforce use cases
A script in Identity Manager Admin is used to manage the option.
See a list of all available options in the Smart ID use cases here: Users - Options
Step-by-step instruction
Log in to Identity Manager Admin
- Log in to Identity Manager Admin as Administrator.
Manage the option to set the photo size
- In Identity Manager Admin, go to Home > Script.
- Select the script UsersScriptOptions.
In the section Photo Management in the script, go to the UsersPhotoHeight variable, see the example. By default it is set to 400 pixels.
In the section Photo Management in the script, go to the UsersPhotoWidth variable, see the example. By default it is set to 300 pixels.
In the section Photo Management in the script, go to the UsersPhotoSize variable, see the example. By default it is set to 2048kB (2MB), which is the max size of the photo.
- Click Save in the upper left corner to save the updated script (or exit without saving if there are no updates)
Technical details
Default value and outcome
Variable | Default value | Outcome |
---|
UsersPhotoHeight | 400 | The max height of the photo is 400 pixels |
UsersPhotoWidth | 300 | The max width of the photo is 300 pixels |
UsersPhotoSize | 2048 | The max size of the photo is 2048kB (2MB) |