<p>In app/helpers/user_helper.rb:</p>
<pre style='color:#555'>> @@ -29,4 +45,19 @@ def openid_button(name, url)
>        :title => t("user.login.openid_providers.#{name}.title")
>      )
>    end
> +
> +  # Gravatar support
> +
> +  # See http://en.gravatar.com/site/implement/images/ for details.
> +  def user_gravatar_url(user, options = {})
> +    options = {:size => 80}.merge! options
> +    hash = Digest::MD5::hexdigest(user.email.downcase)
> +    url = "http://www.gravatar.com/avatar/#{hash}.jpg?s=#{options[:size]}"
</pre>
<p>We should set the <code>d</code> parameter in the URL with <code>image_path "users/images/large.png"</code> as the value so that our default image gets used.</p>

            <p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">
              —<br>
              Reply to this email directly or <a href='https://github.com/openstreetmap/openstreetmap-website/pull/131/files#r1854636'>view it on GitHub</a>.
            </p>
            <img src='https://github.com/notifications/beacon/J6T91GIPIyhU-8ti4GCGP98_UZTRAhtyIjAjorWDZ_kz5PgHI_Ux2MVRf-7XO2WM.gif' height='1' width='1'>