Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

Buddy icons in mail

Warning: The content of this article may be out of date. It was imported from mozilla.org and last updated in 2003.



This page has been flagged by editors or users as needing technical review. Until it is fully reviewed, it may contain inaccurate or incorrect information.

Seth Spitzer

Mozilla is now able to show icons in the message header area and the addressbook card pane.

For the message pane, the icon we will show is on disk at:

<profile home>/NIM/<value of pref aim.session.screenname>/picture/<screenname for sender email address>.gif

When trying to determine the screenname for the sender, we search the addressbook that we are using for collection.  (See this document for info about that.)

For the addressbook card pane, the icon will show is on disk at:

<profile home>/NIM/<value of pref aim.session.screenname>/picture/<screenname for card>.gif

If aim.session.screenname is not set, the icon will not appear. 
If there is no card matching the email, the icon will not appear. 
If there is a card, but no screenname, the icon will not appear. 
And finally, if there is no icon, the icon will not appear.

The reason this file name scheme was chosen was is this is how Netscape 7.0 IM stores buddy icons on disk. 
So if you use NIM, and you use buddy icons, this will just work for free.

Notes:

  1. You do not have to be online to use this feature.
  2. We do not show any buddy icon if you are in "collapsed" header mode.

screenshot

Document Tags and Contributors

 Contributors to this page: chrisdavidmills, jenzed
 Last updated by: chrisdavidmills,