Not reinventing the wheel: using Gravatar

To be honest, I don’t know why we weren’t ‘fully’ using Gravatar for the profile pictures. I remember wanting to do it but, at some point, it must have got lost in our intentions.

And when I say ‘fully’ I mean that we were using Gravatar to get a picture when you created a new account, but we were also hosting images and letting users change their profile pictures in the website. What a great idea, huh? 

This week we have finally implemented a full use of Gravatar in Masterbranch, an idea with quite a few votes on our Uservoice. So now, if your email is associated to a Gravatar picture, we use this picture for your Masterbranch profile and, if not, you only need to add the email address you are using in Masterbranch to your Gravatar.

With this change, we have deleted sooooo many lines of code and we are also avoiding problems as for instance uploads that fail or having to control every time a user changes their profile pic (we used image versioning to be able to cache all the images forever).

by Juan Luis (@jlbelmonte)

Friday, April 27, 2012   ()Bookmark and Share