aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-07-09 13:59:16 +0200
committerMario Vavti <mario@mariovavti.com>2015-07-09 13:59:16 +0200
commitefa55437d4d14dd81d10a98e5d3201d27bcbfafb (patch)
treec6040e8f1cd1982b520d8285d08d3f967d7445de /mod
parente12d58a75cf0fa32e935caa9e53cb2db953d8409 (diff)
downloadvolse-hubzilla-efa55437d4d14dd81d10a98e5d3201d27bcbfafb.tar.gz
volse-hubzilla-efa55437d4d14dd81d10a98e5d3201d27bcbfafb.tar.bz2
volse-hubzilla-efa55437d4d14dd81d10a98e5d3201d27bcbfafb.zip
increase width of the aside area and make default profile image size 300x300
Diffstat (limited to 'mod')
-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();