Commit 3a6733dc authored by mmn's avatar mmn

2-frame GIF animations weren't recognised as animated

parent 6d6db77f
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment