Display ubercart product image given a product nid
It's tricky without some more information but something like this:

$product = node_load($nid);
$image_path = $product-&gt;field_image_cache[0]['filepath'];

print theme('imagecache', 'product', $image_path, $product-&gt;title, '');