From 5547222da236c29fcb7bf6e3b6d8ed7421e1c57f Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 11 Sep 2014 15:50:35 -0700 Subject: add gif to supported image types (if it's supported) --- include/photo/photo_gd.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/photo') 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; } -- cgit v1.2.3