I would like to add my own image in place of the standard Facebook image to link to my page there. I'm having difficulties getting it done though. Can anybody help me?
I would like to add my own image in place of the standard Facebook image to link to my page there. I'm having difficulties getting it done though. Can anybody help me?
do you mean where your FB link in product page is, you have a small image to use instead of that thumb?
I have this code added red for the image and purple for how I changed the wording:
place it in tpl_product_info_display.php also which I put after <!--eof Product Price block -->
<script>function fbs_click() {u=location.href;t=document.title;window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolb ar=0,status=0,width=626,height=436');return false;}</script><style> html .fb_share_link { padding:2px 0 0 20px; height:32px;) no-repeat top left; }</style><a href="http://www.facebook.com/share.php?u=<?php echo "http://" . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'] . "?" . $_SERVER['QUERY_STRING'];?>" onclick="return fbs_click()" target="_blank" class="fb_share_link"><img src=http://fantasiesrealm.com/images/facebook.gif width=25><font size=+2> Share on FaceBook: <strong><?php echo $products_name; ?></strong></a></font><br/><br/><br/><br/>
***all the <br/> are there by me fo spacing on my template you can go to my store to look where I have my FB link at in product pages...so those can be removed.***
hope this helps
Hello Everyone,
Does anyone know how I can get rid of the following text on my product info page, right next to my Facebook Like and Share buttons?
and/orBe the first of your friends to like this.
Its causing havoc on my responsive template for 240 and 320 pixel width devices.Sign Up to see what your friends like.
Any help, always appreciated,
Danny
Daniel Osko
Hi, Couple Issues when I attempt to create a Link to my site in Facebook; THE TITLE: When I post a link from my site into Facebook for any page that isn't a direct Product page it generates a title of "META_TAG_FBTITLE".
http://www.king-magic.com
All the files upload to right folders .
the only thing I found different in your code for meta tag and FB and my own is this line:
<meta property="og:url" content="I have my store link written here"/>
I have my store link where it is red ending right after market/ just like your link that I followed.
try adding that and see if it works.
Very strange
If I click on a product detial - Like - it works! - the mod work.
But if I add link to my site Facebook directly link to this site gives me
META_TAG_FBTITLE
please help to resolve
yes if you are having it work right as is at the store then it is correct...but you did not say that it is happening when you post directly to the FB site. mine occasionally does this if I have a generic link but most usually if I post a product page link then I get the image....
I do my post at FB then hit the link button to add the link and when it posts there is the product name/description and the image.
that's the problem .
when i post direct link from my site so have the problem .
look the picture .
![]()
Waiting resolve my problem .![]()