diff options
author | habeascodice <habeascodice@federated.social> | 2014-10-06 08:43:29 -0700 |
---|---|---|
committer | habeascodice <habeascodice@federated.social> | 2014-10-06 08:43:29 -0700 |
commit | 6b40c2cd090d1c406b3e1cd7ad135baff21bfd54 (patch) | |
tree | a9d5b42f896384b129b8edfe5b9e8ec2b21ca21d /mod/photo.php | |
parent | 79bb60aafd39fef7bc4d03eb40d33e23af5b793f (diff) | |
parent | 34ef3fda76a924d09e77a698e38b79922b8b7f88 (diff) | |
download | volse-hubzilla-6b40c2cd090d1c406b3e1cd7ad135baff21bfd54.tar.gz volse-hubzilla-6b40c2cd090d1c406b3e1cd7ad135baff21bfd54.tar.bz2 volse-hubzilla-6b40c2cd090d1c406b3e1cd7ad135baff21bfd54.zip |
Merge remote branch 'upstream/master'
Diffstat (limited to 'mod/photo.php')
-rw-r--r-- | mod/photo.php | 8 |
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(); |