Forum Academy Marketplace Showcase Pricing Features

Random avatar image

Hello everybody

How to generate random and gender-distinguished avatar image?

I have a repeater group that shows me the data of an api containing user records, but I wanted to style it better and define a random avatar but when the name is male the image is a male avatar, when female the avatar is female. Thanks for your time.