From e2a93b6b5c940497f7fd2fb715bc952c91583fc4 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Sat, 10 Mar 2012 22:59:18 +1100 Subject: [PATCH] animated thumbnail fix --- inc/image.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/image.php b/inc/image.php index 6140f00a..e7e054ac 100644 --- a/inc/image.php +++ b/inc/image.php @@ -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;