[-] Classes : fix bug #PSCFV-1568 - ImageManager PNG thumbnail param not used

This commit is contained in:
tDidierjean
2012-05-02 09:48:25 +00:00
parent cee8f42f8c
commit 979d596cc7
+1 -1
View File
@@ -79,7 +79,7 @@ class ImageManagerCore
$size = $y / ($x / $max_x);
}
ImageManager::resize($image, _PS_TMP_IMG_DIR_.$cache_image, $ratioX, $size, 'jpg');
ImageManager::resize($image, _PS_TMP_IMG_DIR_.$cache_image, $ratioX, $size, $image_type);
}
}
return '<img src="'._PS_TMP_IMG_.$cache_image.(!$disable_cache ? '?time='.time() : '').'" alt="" class="imgm" />';