How to display user avatar

hi folks, the api response gives “thumb”: “/people/2/avatar-{options}.svg?v=34b7249”,
how to resolve this to a image url.

i tried ‘https://{weavy-client}’+thumb

1 Like

I have tried to reconstruct as following, however, this still does not get the image

Try doing a replace on {options} with the image size. Eg. avatar-128.svg for an avatar that is 128x128 px.

1 Like

Thanks Kris… this seems to fix the url part.

Glad to read that is worked out :slight_smile: