Add Avatar to newly registered user

Here my requirement is to add a picture i.e avatar to user while he registering him self into openfire…

here am using mysql database.

i dont see any obvious methods and plugins to avatar.

How to add an avatar to a user’s profile and how to update it.

Thanks in Advance.