diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-03-10 22:59:18 +1100 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-03-10 22:59:18 +1100 |
| commit | e2a93b6b5c940497f7fd2fb715bc952c91583fc4 (patch) | |
| tree | e213309f471efcea09d1c8189f57301ddd9dcdd8 /inc | |
| parent | 0bab56cbb2d9f6e0275b4701d81d7dc7fe117f92 (diff) | |
animated thumbnail fix
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/image.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
