I've got the following piece of code:
Code:
<a href="product.php?productid={$parts[part].productid}&cat={$cat}&page={$navigation_page}{if $featured eq 'Y'}&featured{/if}">{include file="product_thumbnail.tpl" productid=$parts[part].productid image_x=$config.Appearance.thumbnail_width product=$parts[part].product tmbn_url=$parts[part].image_path}</a>
I need change the "adjust" the value for tmbn_url so that it is a complete path to the thumbnail ie:
http://www.mysite.com/images/T/tn_partnumber.jpg
Now the $parts[part].image path has data right from table xcart_images_T that looks like ".\images\T\tn_partnumber.jpg"
The $parts array also has many other fields such as productid, productcode, filename (of the T image), etc.
Can someone help me piece these chunks together to make a path or more specifically, how do I replace the "." in the image_path with
http://www.mysite.com and change the \ to / ??
Thanks.