From: Mikael Nordfeldth Date: Wed, 4 May 2016 09:57:55 +0000 (+0200) Subject: 2-frame GIF animations weren't recognised as animated X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3a6733dc982c879ee728f2f001f13ab69e2e0ab9;p=quix0rs-gnu-social.git 2-frame GIF animations weren't recognised as animated --- diff --git a/lib/imagefile.php b/lib/imagefile.php index 156e3c6fd2..b0cd13089f 100644 --- a/lib/imagefile.php +++ b/lib/imagefile.php @@ -548,7 +548,7 @@ class ImageFile } fclose($fh); - return $count > 1; + return $count >= 1; // number of animated frames apart from the original image } public function getFileThumbnail($width, $height, $crop, $upscale=false)