Today I will show you how you can create user avatar by using User names. There is already an extension present for this purpose but I prefer to use this method because that extension has some issues which are not currently resolved.
So you can use this method as an alternative to that extension. One more thing that you can also download the avatars created and this function is not present in the extension.
I have a suggestion… Here we use web component but it can be created with canvas component too that can work even offline… U can also add that method too in this guide…that’s also very simple… This api is taking first two letters of a name… So this can be done very easily with text separate blocks and canvas m i right?