aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-09-11 15:50:35 -0700
committerfriendica <info@friendica.com>2014-09-11 15:50:35 -0700
commit5547222da236c29fcb7bf6e3b6d8ed7421e1c57f (patch)
tree289c72c722bc22fa8845e289861d0b52b729793f /include
parent219b0608945346f0f47e9facfeefad272faf2bce (diff)
downloadvolse-hubzilla-5547222da236c29fcb7bf6e3b6d8ed7421e1c57f.tar.gz
volse-hubzilla-5547222da236c29fcb7bf6e3b6d8ed7421e1c57f.tar.bz2
volse-hubzilla-5547222da236c29fcb7bf6e3b6d8ed7421e1c57f.zip
add gif to supported image types (if it's supported)
Diffstat (limited to 'include')
-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 466f8c23a..fa1f700e9 100644
--- a/include/photo/photo_gd.php
+++ b/include/photo/photo_gd.php
@@ -10,7 +10,7 @@ class photo_gd extends photo_driver {
$t = array();
$t['image/jpeg'] ='jpg';
if (imagetypes() & IMG_PNG) $t['image/png'] = 'png';
-
+ if (imagetypes() & IMG_GIF) $t['image/gif'] = 'gif';
return $t;
}