From 4f74a730174956b149e2870cbceb0f8fb2de2e6f Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 19 Nov 2014 20:41:56 +0100 Subject: [PATCH] Increased gravatar image size to 160 px. --- app/models/user.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/user.rb b/app/models/user.rb index cc2a6736e..5c36bf093 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -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