Make a copy of the function qa_who_to_html(...) with a different name, which uses the original code, and call that one instead for the line the starts: $fields['who_2']=...
If you put the code in the conditional brackets like in my original answer, it will not show an image for anonymous users.