1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 07:12:41 +01:00

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
This commit is contained in:
epriestley 2016-02-06 16:07:12 -08:00
parent 78c248d330
commit 4974e8487b

View file

@ -77,6 +77,7 @@ final class PhabricatorFileThumbnailTransform
id(new self())
->setName(pht('Workcard (526px)'))
->setKey(self::TRANSFORM_WORKCARD)
->setScaleUp(true)
->setDimensions(526, null),
);
}