[FIX]Removed the extra checking of gravatar image, set d=404 while opening and reading URL through urllib2, if there is no image then it will throw 404 error and exception handler will be called, and if there is image then read it and convert it into base64 encoded.