aboutsummaryrefslogtreecommitdiffstats
path: root/include/photo/photo_gd.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-10-28 19:59:50 +0100
committerMario Vavti <mario@mariovavti.com>2015-10-28 19:59:50 +0100
commitf1a3b281d4573e12f7a81efa03fb1db73ba34e27 (patch)
tree54f315a4379dd503a124deafcab2d4eedd7fbf6d /include/photo/photo_gd.php
parent59da3dfe030493dcb8511cc3c06d672d61e5ea48 (diff)
downloadvolse-hubzilla-f1a3b281d4573e12f7a81efa03fb1db73ba34e27.tar.gz
volse-hubzilla-f1a3b281d4573e12f7a81efa03fb1db73ba34e27.tar.bz2
volse-hubzilla-f1a3b281d4573e12f7a81efa03fb1db73ba34e27.zip
pathinfo() does not work in this case. getimagesize() seems more reliabel. this fixes transparent png avatars having a black background.
Diffstat (limited to 'include/photo/photo_gd.php')
-rw-r--r--include/photo/photo_gd.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/photo/photo_gd.php b/include/photo/photo_gd.php
index fa1f700e9..2ac7287e4 100644
--- a/include/photo/photo_gd.php
+++ b/include/photo/photo_gd.php
@@ -137,4 +137,4 @@ class photo_gd extends photo_driver {
return $string;
}
-} \ No newline at end of file
+}