Thanks Rama. I will try this out too and I will see which one fits best. I didn't know it was this simple :-)
Cheers. On May 14, 11:08 pm, Rama Vadakattu <rama.vadaka...@gmail.com> wrote: > Integrating with Gravatar is very easy > > 1) Get MD5 hash of user's email id > import hashlib > > def getMD5(self): > m = hashlib.md5() > m.update(self.user.email) > return m.hexdigest() > > 2) and prepare image url as below > <img src="http://www.gravatar.com/avatar/{{user-email-MD5- > hash}}.jpg" alt="" /> > > that's it the image shows the gravatar of respective user. > > --rama > > On May 14, 4:30 pm, Joshua Partogi <joshua.j...@gmail.com> wrote: > > > Dear all > > > Does anybody know a good django application for gravatar > > (http://gravatar.com) ? > > > Thank you very much for the redirection. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---