1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-28 01:10:51 +01:00

Animated thumbnails fix

This commit is contained in:
Michael Save 2012-03-17 08:29:46 +11:00
parent 438f749463
commit d531487bad

View File

@ -48,6 +48,7 @@
} }
$thumb = new $classname(false); $thumb = new $classname(false);
$thumb->src = $this->src;
$thumb->original_width = $this->size->width; $thumb->original_width = $this->size->width;
$thumb->original_height = $this->size->height; $thumb->original_height = $this->size->height;
@ -105,7 +106,7 @@
$this->init(); $this->init();
if($img !== false) { if($img !== false) {
$this->src = &$img->src; $this->src = $img->src;
$this->from(); $this->from();
} }
} }