From 4974e8487b9faec6334db15b350d684771b012c6 Mon Sep 17 00:00:00 2001 From: epriestley Date: Sat, 6 Feb 2016 16:07:12 -0800 Subject: [PATCH] Scale up small cover images instead of surrounding them with empty space Summary: This makes small cover images full-width instead of teeny tiny dots in the middle of an island of whitespace. Test Plan: Uploaded a small cover image. Reviewers: chad Reviewed By: chad Differential Revision: https://secure.phabricator.com/D15203 --- .../files/transform/PhabricatorFileThumbnailTransform.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/applications/files/transform/PhabricatorFileThumbnailTransform.php b/src/applications/files/transform/PhabricatorFileThumbnailTransform.php index 2c1f1149f3..546021fc95 100644 --- a/src/applications/files/transform/PhabricatorFileThumbnailTransform.php +++ b/src/applications/files/transform/PhabricatorFileThumbnailTransform.php @@ -77,6 +77,7 @@ public function generateTransforms() { id(new self()) ->setName(pht('Workcard (526px)')) ->setKey(self::TRANSFORM_WORKCARD) + ->setScaleUp(true) ->setDimensions(526, null), ); }