How do you generate default avatars?

Russell 1y, 64d ago [edited]

I take the first two letters of the randomly generated username and use those as the initials. If you log into Remarkbox you may set your username and enable optionally enable Gravatar from the user settings page.

The logic comes from invatar which I pulled into my codebase so that I may inline embed the SVG into an HTML img tag. All you have to do is "encode" or "quote" the SVG. For example: <img src="data:image/svg+xml;charset=utf-8,encoded-svg-here">

What's next? check your email to log in!



Leave the first remark and get the conversation going!