I coded my related products feature so that it show a thumbnail of the image and not just the links. This seemed to work fine until I moved my images from the DB to File. Now it displays the thumbnail of the main product.
example:
http://www.colonialmedical.com/store/product.php?productid=16965
The code I originally used in my related_products.tpl file was this:
{include file="product_thumbnail.tpl" productid=$products[product].productid image_x=$productid.image_x image_y=$productid.image_y product=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail"}
I cant seem to make it show the proper image in regards to the link. Can someone please help me with this?