Here's a quick fix for 'new' and 'random' products not showing the correct URLs to the images.
In...
/smart_new_products.php
and...
/smart_random_products.php
Before...
PHP Code:
$smarty->assign("n_products",$products);
and...
PHP Code:
$smarty->assign("r_products",$products);
...respectively, insert to both files...
PHP Code:
# Get Thumbnail
if($products) {
foreach($products as $key=> $product)
$products[$key]["tmbn_url"] = func_query_first_cell("SELECT image_path FROM $sql_tbl[images_T] WHERE id=".$product["productid"]);
}
This will not affect the running of your store, merely speed things up a little.