Re: Gravatar django apps
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 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 > 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 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 -~--~~~~--~~--~--~---
Re: Gravatar django apps
Thanks for the redirection Erreon. I will try it out. :-) Best regards, On May 15, 5:00 am, Erreon wrote: > If you don't want to implement your own solution you could > use.http://code.google.com/p/django-gravatar/ > > On May 14, 6:30 am, Joshua Partogi wrote: > > > Dear all > > > Does anybody know a good django application for gravatar > > (http://gravatar.com) ? > > > Thank you very much for the redirection. > > > :-) > > > -- > > If you can't believe in God the chances are your God is too small. > > > Read my blog:http://joshuajava.wordpress.com/ > > Follow us on twitter:http://twitter.com/scrum8 --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Gravatar django apps
If you don't want to implement your own solution you could use. http://code.google.com/p/django-gravatar/ On May 14, 6:30 am, Joshua Partogi wrote: > Dear all > > Does anybody know a good django application for gravatar > (http://gravatar.com) ? > > Thank you very much for the redirection. > > :-) > > -- > If you can't believe in God the chances are your God is too small. > > Read my blog:http://joshuajava.wordpress.com/ > Follow us on twitter:http://twitter.com/scrum8 --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Gravatar django apps
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 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 wrote: > Dear all > > Does anybody know a good django application for gravatar > (http://gravatar.com) ? > > Thank you very much for the redirection. > > :-) > > -- > If you can't believe in God the chances are your God is too small. > > Read my blog:http://joshuajava.wordpress.com/ > Follow us on twitter:http://twitter.com/scrum8 --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---