Go to the website that has the avatar. Copy the link. Paste this link into the "avatar" field in your profile. Make sure that you click "Edit Profile" at the bottom of the page after making the entry.
Here's the link for my avatar, as an example. Notice that it is a .gif, so that it translates to a picture.