GitHost.io will be shut down on June 1, 2019. At that point this instance will be unreachable and all data will be irrevocably deleted. More details at https://about.gitlab.com/gitlab-hosted/#githost-is-shutting-down-on-june-1st-2019

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