Hello Everyone…
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.
The blocks are really simple and easy. Just experiment with them. You will surely create much better than this one.
Website: https://ui-avatars.com/
AIA File : Avatars.aia (4.8 KB)
Apk File : Avatars.apk (5.2 MB)
Offline Method
This is the offline method created by @Zia_Choudhary.
Jump to main topic :
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?
In my blocks its not possible…but it can be created by setting background to transparent colour or by setting text colour to transparent. its not a difficult task .
but in my app i have two canvases but only one is showing the result. if i disable the 1st one 2nd one working if i disable the 2nd one then the 1st one is working. i am using the offline method. pls help me regarding this. how to solve this problem?