2-frame GIF animations weren't recognised as animated

This commit is contained in:
Mikael Nordfeldth 2016-05-04 11:57:55 +02:00
parent 6d6db77f06
commit 3a6733dc98
1 changed files with 1 additions and 1 deletions

View File

@ -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)