Options
The following options are available for each avatar style.
name | alias | type | default | description |
---|---|---|---|---|
radius | r | number | 0 | Avatar border radius |
dataUri | bool | false | Return avatar as data uri instead of XML Not supported by the HTTP API | |
width | w | number | null | Fixed width |
height | h | number | null | Fixed height |
margin | m | number | 0 | Avatar margin in percent HTTP-API limitation Max value 25 |
background | b | string | null | Any valid color identifier HTTP-API limitation Only hex (3-digit, 6-digit and 8-digit) values are allowed. Use url encoded hash: %23 . |
The avatar styles may offer additional options. You can find them in the avatar style documentation.