Increased gravatar image size to 160 px.
This commit is contained in:
parent
7e9f246ee7
commit
4f74a73017
1 changed files with 1 additions and 1 deletions
|
@ -491,7 +491,7 @@ returns
|
|||
if !self.image_source || self.image_source == '' || self.image_source =~ /gravatar.com/i
|
||||
if self.email
|
||||
hash = Digest::MD5.hexdigest(self.email)
|
||||
self.image_source = "http://www.gravatar.com/avatar/#{hash}?s=48&d=404"
|
||||
self.image_source = "http://www.gravatar.com/avatar/#{hash}?s=160&d=404"
|
||||
logger.debug "#{self.email}: #{self.image_source}"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue