diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-07-10 20:46:46 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-07-10 20:46:46 +0200 |
commit | b1f926ba893cadad2a7fdbf14bdccafbfefdbbe6 (patch) | |
tree | 7ebcbe1278b6e87c5b158d3d0b3ec0ae05919f19 /mod/profile_photo.php | |
parent | 43354ab385cd5c7adcc86f591159f10201420aae (diff) | |
parent | 071a233fb8aa427ae0637cda1ca0b47631d6b521 (diff) | |
download | volse-hubzilla-b1f926ba893cadad2a7fdbf14bdccafbfefdbbe6.tar.gz volse-hubzilla-b1f926ba893cadad2a7fdbf14bdccafbfefdbbe6.tar.bz2 volse-hubzilla-b1f926ba893cadad2a7fdbf14bdccafbfefdbbe6.zip |
merge redmatrix fixes
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 de2a538f1..13923a655 100644 --- a/mod/profile_photo.php +++ b/mod/profile_photo.php @@ -135,7 +135,7 @@ function profile_photo_post(&$a) { $im = photo_factory($base_image['data'], $base_image['type']); if($im->is_valid()) { - $im->cropImage(175,$srcX,$srcY,$srcW,$srcH); + $im->cropImage(300,$srcX,$srcY,$srcW,$srcH); $aid = get_account_id(); @@ -412,7 +412,7 @@ function profile_photo_crop_ui_head(&$a, $ph, $hash, $smallest){ $width = $ph->getWidth(); $height = $ph->getHeight(); - if($width < 175 || $height < 175) { + if($width < 300 || $height < 300) { $ph->scaleImageUp(200); $width = $ph->getWidth(); $height = $ph->getHeight(); |