aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorJeroen <jeroenpraat@xs4all.nl>2014-10-05 21:38:47 +0000
committerJeroen <jeroenpraat@xs4all.nl>2014-10-05 21:38:47 +0000
commita17eae941b2c3a7fa76b84a3ef10a0f8d4be6038 (patch)
treeb0853dab8c80331555dc33b35f09440249b849ca /mod
parent0fd55707f5fe60a591a679fb25ceff471f830a8a (diff)
downloadvolse-hubzilla-a17eae941b2c3a7fa76b84a3ef10a0f8d4be6038.tar.gz
volse-hubzilla-a17eae941b2c3a7fa76b84a3ef10a0f8d4be6038.tar.bz2
volse-hubzilla-a17eae941b2c3a7fa76b84a3ef10a0f8d4be6038.zip
image/jpeg > image/png
Diffstat (limited to 'mod')
-rw-r--r--mod/photo.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/photo.php b/mod/photo.php
index 9302278b6..0329fe0a8 100644
--- a/mod/photo.php
+++ b/mod/photo.php
@@ -71,7 +71,7 @@ function photo_init(&$a) {
}
if(! isset($data)) {
$data = file_get_contents($default);
- $mimetype = 'image/jpeg';
+ $mimetype = 'image/png';
}
}
else {
@@ -176,15 +176,15 @@ function photo_init(&$a) {
case 4:
$data = file_get_contents(get_default_profile_photo());
- $mimetype = 'image/jpeg';
+ $mimetype = 'image/png';
break;
case 5:
$data = file_get_contents(get_default_profile_photo(80));
- $mimetype = 'image/jpeg';
+ $mimetype = 'image/png';
break;
case 6:
$data = file_get_contents(get_default_profile_photo(48));
- $mimetype = 'image/jpeg';
+ $mimetype = 'image/png';
break;
default:
killme();