From d48f0ec453096f3206fa4bdbc13f87130c0c727d Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Fri, 5 Sep 2014 12:00:29 +0200 Subject: [PATCH] static/gravatar: fetch smaller images --- application/controllers/StaticController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/StaticController.php b/application/controllers/StaticController.php index c90272ffc..fec60a624 100644 --- a/application/controllers/StaticController.php +++ b/application/controllers/StaticController.php @@ -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;