Re: Avatars+Gossip+Telepathy

Richard Hult <[email protected]> Mon, 06 Nov 2006 10:10:53 +0100
Newsgroups gmane.comp.gnome.gossip.devel
Organization Imendio AB
Message-ID <[email protected]>
Xavier Claessens skrev:
> 
> I think a good idea is to store avatars in PNG files, the name of the
> file can be used to know for which contact the PNG is for. This way
> users can get avatars from (for example)
> 
>  ~/.gnome2/Gossip/<account>/<id>.png
> 
> Another solution is to store it in XML or plain-text file using base64
> encoded.

I've planned to implement a cache for avatars, by storing the images on 
disk with the hash value that is already used to identify the image as 
filename. Then we won't have to fetch the avatars from the server unless 
they change. Would this work for your use case as well?

/Richard

-- 
Imendio AB, http://www.imendio.com/