aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile_photo.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-01-13 17:32:09 -0800
committerredmatrix <git@macgirvin.com>2016-01-13 17:32:09 -0800
commit9584ca080c10777407c59c5939dd0cf2a88a847b (patch)
treeeaa3aa8f820d83e3305156a8b8f5cd420013b874 /mod/profile_photo.php
parent86b550e43e91f39084398bf3540ec2bd3da5d179 (diff)
downloadvolse-hubzilla-9584ca080c10777407c59c5939dd0cf2a88a847b.tar.gz
volse-hubzilla-9584ca080c10777407c59c5939dd0cf2a88a847b.tar.bz2
volse-hubzilla-9584ca080c10777407c59c5939dd0cf2a88a847b.zip
some initial work on uploading and cropping cover photos
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 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();
}