2-frame GIF animations weren't recognised as animated
This commit is contained in:
parent
6d6db77f06
commit
3a6733dc98
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user