aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile_photo.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-07-10 14:20:38 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-07-10 14:20:38 -0700
commit4bf7e4a34d166a52a10939ab0bb26ac05652f59c (patch)
tree2324fd2c13717a3d2fb7fe0b0d7de8eb1e268d37 /mod/profile_photo.php
parentae6541cf74a0940131d6fdb937539effe5b27e3e (diff)
parent6e30ccdd2210c1a3e8f4ff571110b9bbae895dc1 (diff)
downloadvolse-hubzilla-4bf7e4a34d166a52a10939ab0bb26ac05652f59c.tar.gz
volse-hubzilla-4bf7e4a34d166a52a10939ab0bb26ac05652f59c.tar.bz2
volse-hubzilla-4bf7e4a34d166a52a10939ab0bb26ac05652f59c.zip
Merge https://github.com/redmatrix/redmatrix into pending_merge
Diffstat (limited to 'mod/profile_photo.php')
-rw-r--r--mod/profile_photo.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/profile_photo.php b/mod/profile_photo.php
index 597b5f66d..c70e8fc94 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();
@@ -411,7 +411,7 @@ function profile_photo_crop_ui_head(&$a, $ph){
$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();