From 7e58efaf1ac247efe8f3e0c858f68bbf81503f00 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Sat, 17 Mar 2012 08:29:46 +1100 Subject: [PATCH] Animated thumbnails fix --- inc/image.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/image.php b/inc/image.php index c6a9e0b0..85200104 100644 --- a/inc/image.php +++ b/inc/image.php @@ -48,6 +48,7 @@ } $thumb = new $classname(false); + $thumb->src = $this->src; $thumb->original_width = $this->size->width; $thumb->original_height = $this->size->height; @@ -105,7 +106,7 @@ $this->init(); if($img !== false) { - $this->src = &$img->src; + $this->src = $img->src; $this->from(); } }