animated thumbnail fix

This commit is contained in:
Michael Save 2012-03-10 22:59:18 +11:00
parent 0bab56cbb2
commit e2a93b6b5c

View File

@ -177,7 +177,7 @@
$this->image->setFormat('gif');
$keep_frames = Array();
for($i = 1; $i < $this->original->getNumberImages(); $i += floor($this->original->getNumberImages() / $config['thumb_keep_animation_frames']))
for($i = 0; $i < $this->original->getNumberImages(); $i += floor($this->original->getNumberImages() / $config['thumb_keep_animation_frames']))
$keep_frames[] = $i;
$i = 0;