static/gravatar: fetch smaller images

This commit is contained in:
Thomas Gelf 2014-09-05 12:00:29 +02:00
parent baa775dd74
commit d48f0ec453
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ class StaticController extends ActionController
$cache->send($cacheFile);
return;
}
$img = file_get_contents('http://www.gravatar.com/avatar/' . $filename . '?s=200&d=mm');
$img = file_get_contents('http://www.gravatar.com/avatar/' . $filename . '?s=120&d=mm');
$cache->store($cacheFile, $img);
header('ETag: "' . $cache->etagForCachedFile($cacheFile) . '"');
echo $img;