Hi,

I am using the Add This code on my products info page.

When the facebook share option is used the thumbnails for facebook are selected by facebook, however not the right images are selected.

After a little research I have found that there are Meta data that needs to be added to the common header tpl file.

As quoted by facebooks partner page:
In order to make sure that the preview is always correctly populated, you should add the tags shown below to your HTML. An example news story could have the following:
Code:
<meta name="title" content="Smith hails 'unique' Wable legacy" />
<meta name="description" content="John Smith claims beautiful football is the main legacy of Akhil Wable's decade at the club. " />
<link rel="image_src" href="http://www.onjd.com/design05/images/PH2/WableAFC205.jpg" />
The meta name for title and descriptions are already in place within zencart, so that is okay.

I need to add the product image relative link to code, and this is where I am banning my head against the wall

What is the code I need to enter so that zen cart adds the relavate product image being viewed to this code and not just one image like this facebook code explains.

EG: If I am viewing a particular product then the image link needs to be for that particular product not the same image product for the entire site.

Code:
<link rel="image_src" href="WHAT GOES HERE" />
Ive looked at the product info tpl and I can see:
Code:
($template->get_template_dir('/tpl_modules_main_product_image.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_main_product_image.php');
But that didnt work when I tried using that code.

Can anyone point me in the right direction please

Cheers
Melanie