diff options
author | mrjive <mrjive@mrjive.it> | 2016-01-14 09:30:50 +0100 |
---|---|---|
committer | mrjive <mrjive@mrjive.it> | 2016-01-14 09:30:50 +0100 |
commit | 5c937c5642e87750b55e15c9d9c1b863e5d5cfc1 (patch) | |
tree | 5ef2c09452b4d511f895d0fa3164fb614307f8c4 /mod/profile_photo.php | |
parent | 3206a46a9297dcbdc56c25512767dfb5bf66837b (diff) | |
parent | e500a08f152d641f60c7146c6a290042bdd37a73 (diff) | |
download | volse-hubzilla-5c937c5642e87750b55e15c9d9c1b863e5d5cfc1.tar.gz volse-hubzilla-5c937c5642e87750b55e15c9d9c1b863e5d5cfc1.tar.bz2 volse-hubzilla-5c937c5642e87750b55e15c9d9c1b863e5d5cfc1.zip |
Merge pull request #15 from redmatrix/master
updating from original codebase
Diffstat (limited to 'mod/profile_photo.php')
-rw-r--r-- | mod/profile_photo.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/profile_photo.php b/mod/profile_photo.php index 2884505f0..0091d0585 100644 --- a/mod/profile_photo.php +++ b/mod/profile_photo.php @@ -502,8 +502,8 @@ function profile_photo_crop_ui_head(&$a, $ph, $hash, $smallest){ $width = $ph->getWidth(); $height = $ph->getHeight(); - if($width < 300 || $height < 300) { - $ph->scaleImageUp(200); + if($width < 500 || $height < 500) { + $ph->scaleImageUp(400); $width = $ph->getWidth(); $height = $ph->getHeight(); } |