Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2006
    Location
    Central Coast, NSW, Australia
    Posts
    560
    Plugin Contributions
    0

    Default Facebook "Like" doesn't always show image..

    Hi,

    ZC 1.3.9d

    I've been trying (with limited success) to add the various Social Media buttons to my site.

    The issue I have, is no matter what file source or add-on I use, invariably, the like button, when clicked, will either throw up an empty comments box, or a box with just the link, and randomly, I'll get the whole kit, eg, image and link.

    At times, if I refresh a page a number of times I'll get lucky and the like button will function correctly, but it seems to be a hit/miss affair.

    I thought it may have been image size, but some images this happens on are only 12k

    I'm currently using the code provided via the addthis.com site.

    Ive also tried the Google+ (Plus) Mod from here and the result is the same, so I deduced it was a zen cart issue, not a mod issue ??


    The code I currently have installed is..
    Code:
    <link rel="image_src" href="<?php echo "http://" . $_SERVER['HTTP_HOST'] . "/images/" . $products_image; ?>" />
    
    <!-- AddThis Button BEGIN -->
    <div class="addthis_toolbox addthis_default_style addthis_32x32_style">
    <a class="addthis_button_facebook"></a>
    <a class="addthis_button_google_plusone_share"></a>
    <a class="addthis_button_twitter"></a>
    <a class="addthis_button_email"></a>
    <a class="addthis_button_print"></a>
    </div>
    <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=xa-519f4b605bfbbcc4"></script>
    <!-- AddThis Button END -->
    And its sitting in the template folder as it should...

    Has anyone else faced this issue at all and can anyone offer a solution..

    Once you gurus have solved this issue, can you tell me how I get the likes to not only show up on the likers FB page, but to have them also show up on my websites FB page.. Is that possible ?



    Thanks,
    Mike
    Last edited by Mike_Dean; 24 May 2013 at 01:29 PM. Reason: Added Code links..

  2. #2
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Facebook "Like" doesn't always show image..

    Quote Originally Posted by Mike_Dean View Post
    Hi,

    ZC 1.3.9d

    I've been trying (with limited success) to add the various Social Media buttons to my site.

    The issue I have, is no matter what file source or add-on I use, invariably, the like button, when clicked, will either throw up an empty comments box, or a box with just the link, and randomly, I'll get the whole kit, eg, image and link.

    At times, if I refresh a page a number of times I'll get lucky and the like button will function correctly, but it seems to be a hit/miss affair.

    I thought it may have been image size, but some images this happens on are only 12k

    I'm currently using the code provided via the addthis.com site.

    Ive also tried the Google+ (Plus) Mod from here and the result is the same, so I deduced it was a zen cart issue, not a mod issue ??


    The code I currently have installed is..
    Code:
    <link rel="image_src" href="<?php echo "http://" . $_SERVER['HTTP_HOST'] . "/images/" . $products_image; ?>" />
    
    <!-- AddThis Button BEGIN -->
    <div class="addthis_toolbox addthis_default_style addthis_32x32_style">
    <a class="addthis_button_facebook"></a>
    <a class="addthis_button_google_plusone_share"></a>
    <a class="addthis_button_twitter"></a>
    <a class="addthis_button_email"></a>
    <a class="addthis_button_print"></a>
    </div>
    <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=xa-519f4b605bfbbcc4"></script>
    <!-- AddThis Button END -->
    And its sitting in the template folder as it should...

    Has anyone else faced this issue at all and can anyone offer a solution..
    Not really a Zen Cart issue.. you might want to inquire on the Add This site.. but for what it's worth I don't have the issue..

    Quote Originally Posted by Mike_Dean View Post
    Once you gurus have solved this issue, can you tell me how I get the likes to not only show up on the likers FB page, but to have them also show up on my websites FB page.. Is that possible ?



    Thanks,
    Mike
    No not possible.. that's not the purpose of the page like buttons.. If it is possible you would need to ask the good folks on the Add This site (it's their code after all that you are using)
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  3. #3
    Join Date
    Feb 2006
    Location
    Central Coast, NSW, Australia
    Posts
    560
    Plugin Contributions
    0

    Default Re: Facebook "Like" doesn't always show image..

    Quote Originally Posted by DivaVocals View Post
    Not really a Zen Cart issue.. you might want to inquire on the Add This site.. but for what it's worth I don't have the issue..
    Do you mean you don't have the issue on my site, or you don't have the issue on your site ?


    Quote Originally Posted by DivaVocals View Post
    No not possible.. that's not the purpose of the page like buttons.. If it is possible you would need to ask the good folks on the Add This site (it's their code after all that you are using)
    Hmm ok...


    Thanks,
    Mike

  4. #4
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Facebook "Like" doesn't always show image..

    Quote Originally Posted by Mike_Dean View Post
    Do you mean you don't have the issue on my site, or you don't have the issue on your site ?
    I don't have the issue with product images not showing when I click the Facebook like button from any of your product pages.. I don't have any issues with the Facebook dialogue box not showing up when I click the Facebook like button from any of your product pages..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  5. #5
    Join Date
    Feb 2006
    Location
    Central Coast, NSW, Australia
    Posts
    560
    Plugin Contributions
    0

    Default Re: Facebook "Like" doesn't always show image..

    Quote Originally Posted by DivaVocals View Post
    I don't have the issue with product images not showing when I click the Facebook like button from any of your product pages.. I don't have any issues with the Facebook dialogue box not showing up when I click the Facebook like button from any of your product pages..
    Cool.

    Ok thanks for checking..

    Have a nice evening.!

 

 

Similar Threads

  1. Facebook "Like" button on every product page?
    By scrap in forum Templates, Stylesheets, Page Layout
    Replies: 114
    Last Post: 17 Apr 2013, 03:58 PM
  2. Facebook "Like/Share" Plugin - Using OG info for each product?
    By rubiconpeak in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 14 Oct 2012, 12:08 AM
  3. Facebook "Like" Button on each product page - where to add FB details?
    By Yaro in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 6 Jun 2012, 11:26 AM
  4. Facebook "like" and tpl_tabular_display
    By Flinders in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 16 Jul 2010, 04:42 PM
  5. Need an "Exclusive" image tag like "Free"
    By HinterWelt2 in forum General Questions
    Replies: 2
    Last Post: 8 Jan 2007, 04:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg