PDA

View Full Version : Bookmarks Problem



Geoffrey Doohan
June 12, 2014, 04:25 AM
When I Share a link to my Facebook page from my classified sites it does not pass any thumbs or info to the Share Link - only the listing heading.

I've only now noticed that this has stopped working properly - It use to send the thumb as the Facebook page should show.

Here's a link to my Listing (http://www.aerotrader.com.au/aircraft/piper/archer-ll/piper-archer-11-neg-64-000.00-single-engine-10.html) and then to the Facebook Page (http://www.facebook.com/aerotradercomau?ref=hl) that has the link to the listing - note no thumb just the heading. The older Shared Links have a thumb but the new one only has the heading. This happens with both my Classified sites.

Anyone got any idea how to fix this?

Geoffrey Doohan
June 15, 2014, 12:31 AM
I did have this problem on one of my sites a while back but support fixed it. Now it's not passing the thumb on both sites.


Anyone?

Viktor
June 16, 2014, 03:58 AM
Hello Geoffrey,

You should add code in file: ftp://templates>>your_template>>tpl>>header.tpl

in header between some meta tags:



{if $photos}
<meta property="og:image" content="{$smarty.const.RL_URL_HOME}files/{$photos.0.Photo}"/>
{/if}


save and check again.

Geoffrey Doohan
June 16, 2014, 11:46 PM
Thx Viktor, that worked - it now shows the first picture uploaded to the listing.

How can I just get it to show the Primary Thumb?

Viktor
June 17, 2014, 03:20 AM
Hello Geoffrey,

if you want main photo needs something difference code:



{if $listing_data.Main_photo}
<meta property="og:image" content="{$smarty.const.RL_FILES_URL}{$listing_data.Main_ph oto}" />
{/if}