how to customize autocomplete TO field in privatemsg module - drupal 6 Using the privatemessage module, users can send messages to each other as in facebook. The page displays a form with a TO field, subject and message. The TO field is an autocomplete field by default. Upon searching for a user name, it shows a drop down with only the names. How can i customize it to show the user's profile picture also in the drop down??? I dont know where to go and make the code changes.
Open privatemsg.module 

in hook_menu search for $items['messages/user-name-autocomplete']
this particular menu item  defines that auto complete path. 

Search for privatemsg_user_name_autocomplete function where the output defines. 

Edit this function. Thats all. 
Also Create a patch if youre familiar with patching, so that others c