0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Adding size param to contrib images

no issue
- reduces filesize significantly, whilst not impacting quality
This commit is contained in:
Hannah Wolfe 2014-09-25 10:53:20 +01:00
parent bb23fdaeb6
commit 0127dd9e6c

View file

@ -988,7 +988,7 @@ var _ = require('lodash'),
});
};
return Promise.all(_.map(contributors, function (contributor) {
return downloadImagePromise(contributor.avatarUrl, contributor.name);
return downloadImagePromise(contributor.avatarUrl + '&s=60', contributor.name);
}));
}).catch(function (error) {
grunt.log.error(error);