Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+6 votes
in Q2A Core by

I belive it would't it be fun to pick random avatars for users at the time they register rather than only one defualt avatar.

Say we have a handful of image files and our plugin picks a random image from the set of image files in the local directory of our plugin. How can we do that?

Character Icons

Q2A version: qa 1.63 dev
this could be possible if you follow this override -


After registration of the user pick the required avatar and set it for the user .
Thank you Ami!

1 Answer

0 votes
selected by
Best answer
I was about to answer this question but ended up creating the plugin :/ http://www.question2answer.org/qa/39812/new-free-plugin-ra-random-avatar

Give it a try and let me know if there are any issues with it.