Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Use Mystery Man as default avatar instead of logo #60

Merged
merged 1 commit into from

2 participants

@nb
nb commented

Currently if a user hasn't set up a gravatar, we
show the gravatar logo, which draws attention away
from existing avatars.

Instead, we could show just a silhouetted outline.

See http://secure.gravatar.com/site/implement/images/

@nb nb Use Mystery Man as default avatar instead of logo
Currently if a user hasn't set up a gravatar, we
show the gravatar logo, which draws attention away
from existing avatars.

Instead, we could show just a silhouetted outline.

See http://secure.gravatar.com/site/implement/images/
5fdcca6
@zk zk merged commit b4722e4 into zk:master
@zk
Owner
zk commented

Thanks @nb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 13, 2013
  1. @nb

    Use Mystery Man as default avatar instead of logo

    nb authored
    Currently if a user hasn't set up a gravatar, we
    show the gravatar logo, which draws attention away
    from existing avatars.
    
    Instead, we could show just a silhouetted outline.
    
    See http://secure.gravatar.com/site/implement/images/
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/helpers/application_helper.rb
View
2  app/helpers/application_helper.rb
@@ -2,7 +2,7 @@
module ApplicationHelper
def grav_url_for(email, size=80)
digest = Digest::MD5.hexdigest(email)
- return "http://www.gravatar.com/avatar/" + digest + "?s=" + size.to_s
+ return "http://www.gravatar.com/avatar/" + digest + "?s=" + size.to_s + "&d=mm"
end
def font_size_for_weight(weight)
Something went wrong with that request. Please try again.