setImageResource

Set the image of the avatar using a resource ID.