code: public String getGravatar() {
          if (getEmail() == null) {
              return "http://www.gravatar.com/avatar/00000000000000000000000000000000";
          } else {
              final MD5 md5 = new MD5();
              final String hash = md5.calcMD5(getEmail());
              return "http://www.gravatar.com/avatar/" + hash;
          }
      }
docs: Get a gravatar image