Actual 2x avatar, new profile picture options
Summary: Provides a real 2x avatar and offers new built in images for profile pictures. Test Plan: reload profile, see sharper image, pick eevee, see eevee Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D14668
|
@ -265,7 +265,7 @@ return array(
|
|||
'rsrc/favicons/mask-icon.svg' => '0460cb1f',
|
||||
'rsrc/image/BFCFDA.png' => 'd5ec91f4',
|
||||
'rsrc/image/actions/edit.png' => '2fc41442',
|
||||
'rsrc/image/avatar.png' => '3eb28cd9',
|
||||
'rsrc/image/avatar.png' => 'e132bb6a',
|
||||
'rsrc/image/checker_dark.png' => 'd8e65881',
|
||||
'rsrc/image/checker_light.png' => 'a0155918',
|
||||
'rsrc/image/checker_lighter.png' => 'd5da91b6',
|
||||
|
@ -320,6 +320,16 @@ return array(
|
|||
'rsrc/image/people/lincoln.png' => '9369126d',
|
||||
'rsrc/image/people/mckinley.png' => 'fb8f16ce',
|
||||
'rsrc/image/people/taft.png' => 'd7bc402c',
|
||||
'rsrc/image/people/user0.png' => '03dacaea',
|
||||
'rsrc/image/people/user1.png' => '4a4e7702',
|
||||
'rsrc/image/people/user2.png' => '47a0ee40',
|
||||
'rsrc/image/people/user3.png' => '835ff627',
|
||||
'rsrc/image/people/user4.png' => 'b0e830f1',
|
||||
'rsrc/image/people/user5.png' => '9c95b369',
|
||||
'rsrc/image/people/user6.png' => 'ba3fbfb0',
|
||||
'rsrc/image/people/user7.png' => 'da613924',
|
||||
'rsrc/image/people/user8.png' => 'f1035edf',
|
||||
'rsrc/image/people/user9.png' => '66730be3',
|
||||
'rsrc/image/people/washington.png' => '40dd301c',
|
||||
'rsrc/image/phrequent_active.png' => 'a466a8ed',
|
||||
'rsrc/image/phrequent_inactive.png' => 'bfc15a69',
|
||||
|
|
|
@ -116,6 +116,25 @@ final class PhabricatorPeopleProfilePictureController
|
|||
}
|
||||
}
|
||||
|
||||
$builtins = array(
|
||||
'user1.png',
|
||||
'user2.png',
|
||||
'user3.png',
|
||||
'user4.png',
|
||||
'user5.png',
|
||||
'user6.png',
|
||||
'user7.png',
|
||||
'user8.png',
|
||||
'user9.png',
|
||||
);
|
||||
foreach ($builtins as $builtin) {
|
||||
$file = PhabricatorFile::loadBuiltin($viewer, $builtin);
|
||||
$images[$file->getPHID()] = array(
|
||||
'uri' => $file->getBestURI(),
|
||||
'tip' => pht('Builtin Image'),
|
||||
);
|
||||
}
|
||||
|
||||
// Try to add external account images for any associated external accounts.
|
||||
$accounts = id(new PhabricatorExternalAccountQuery())
|
||||
->setViewer($viewer)
|
||||
|
|
Before Width: | Height: | Size: 936 B After Width: | Height: | Size: 1 KiB |
BIN
webroot/rsrc/image/people/user0.png
Normal file
After Width: | Height: | Size: 1 KiB |
BIN
webroot/rsrc/image/people/user1.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
webroot/rsrc/image/people/user2.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
webroot/rsrc/image/people/user3.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
webroot/rsrc/image/people/user4.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
webroot/rsrc/image/people/user5.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
webroot/rsrc/image/people/user6.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
webroot/rsrc/image/people/user7.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
webroot/rsrc/image/people/user8.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
webroot/rsrc/image/people/user9.png
Normal file
After Width: | Height: | Size: 1.1 KiB |