Face Header support for Evolution

During OpenSuSE Hackweek, I was told about Face Header by Srinidhi. I thought it will be cool to have it in Evolution. So here it goes.

Face Header:
Face header is a way by which you take a small 48*48 PNG, base64 encode it and attach it as a header of a mail. While receiving the mail, you decode and display it.

I added support for sending an image as a Face header and the ability to decode it to Evolution.



That's how it gets rendered in Evo. I am attaching the image used by Michael Zucchi as his signature image.

Suppose if there is a photo associated with the email address in your personal addressbook, then I am avoiding the Face header and showing the contact photo. For instance, If I have saved Fejj's photo, for the @poison.ivy (my email server), Evo would've rendered it as:


This is implemented as a plugin named "Face" and is already in svn. I hope NotZed and Fejj will not sue me for using their photos :)

6 comments:

kalyanasundaram said...

It would be nice if syncing with pidgin accounts sync the contact photo too. So that i dont need to configure contact photo for ppl.

Sankar said...

Kalyan: Nice idea. Shouldnt be difficult to implement as well. evolution/plugins/bbdb is the place where you need to look at it. Give it a try ;-)

mck said...

So how do you send an email with the face attached?
I have my face in the file .evolution/faces
but i still have to choose Insert->Face
and then the Headers seem to get jumbled up since the body of the email is the email source from after the Face header onwards.

Don said...

This is a very cool feature. I had gotten used to seeing contact pictures in the email header while using Outlook. When I switched to Evolution I didn't realize it had this feature until I found your post. I then found the feature in Evolution 2.22.3.1 under Edit -> Preferences -> Mail Preferences -> Headers -> Sender Photograph. Thanks.

Sankar said...

Don: I'm happy that it helped you.

Display Name said...

Nice info --- helps ...