diff options
author | friendica <info@friendica.com> | 2014-10-05 15:42:25 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-10-05 15:42:25 -0700 |
commit | bf6c72fc0ed943879f573710d88c12e402a90f6f (patch) | |
tree | eab5efae303b09f4dad532e094938eb05f4ac1c7 /mod/photo.php | |
parent | d4a6a6b4f513cfe4cb1b7a003e10d8dc9edcdfff (diff) | |
parent | 7bad7e505a3986044ce0150c7ebd4486c44adfd7 (diff) | |
download | volse-hubzilla-bf6c72fc0ed943879f573710d88c12e402a90f6f.tar.gz volse-hubzilla-bf6c72fc0ed943879f573710d88c12e402a90f6f.tar.bz2 volse-hubzilla-bf6c72fc0ed943879f573710d88c12e402a90f6f.zip |
Merge https://github.com/friendica/red into pending_merge
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(); |