0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Larger default gravatar images

This commit is contained in:
John O'Nolan 2014-07-20 17:57:54 +02:00
parent e42739fe97
commit d10771b711

View file

@ -465,7 +465,7 @@ User = ghostBookshelf.Model.extend({
gravatarLookup: function (userData) { gravatarLookup: function (userData) {
var gravatarUrl = '//www.gravatar.com/avatar/' + var gravatarUrl = '//www.gravatar.com/avatar/' +
crypto.createHash('md5').update(userData.email.toLowerCase().trim()).digest('hex') + crypto.createHash('md5').update(userData.email.toLowerCase().trim()).digest('hex') +
"?d=404", "?d=404&s=250",
checkPromise = when.defer(); checkPromise = when.defer();
http.get('http:' + gravatarUrl, function (res) { http.get('http:' + gravatarUrl, function (res) {