Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • Alp Friend
    #826842

    Hello everyone,

    facebook share is not showing images attached to k2 items as thumbs.
    Instead of the thumb there is just white placeholder.

    Please have a look on my site: http://www.mbdincaslan.com

    This post was already placed in the former forum but is deleted by changing to the new forum.
    Please help.

    Best regards

    Alp

    Alp Friend
    #826844
    This reply has been marked as private.
    Ninja Lead Moderator
    #828258

    Hi,

    I checked with this image here but it does not show on FB.

    This is a matter of your server setup. It is probably caused either by a .htaccess rule that protects the cache directory or by bad file permissions. You can verify that the file exists using an FTP client.

    Besides that, I could not access backend of your site with your provided above.

    Regards

    Alp Friend
    #830227
    This reply has been marked as private.
    Ninja Lead Moderator
    #830499

    I spent a lot of my time to debug the problem on your site, I checked from debugging an issue with Facebook is via the Open Graph Debugger with the URL of your site and saw the problem from og:image here

    Look at the screenshot and you will see the wrong link on your site

    http://www.mbdincaslan.com/_2016//_2016/media/k2/items/cache/832731af5d81b95ba82de72993209600_L.jpg

    and below it’s correctly

    http://www.mbdincaslan.com/_2016/media/k2/items/cache/832731af5d81b95ba82de72993209600_L.jpg

    You can find <meta property=”og:image” content=”” on your site and fix the link to have correct one.


    1. Screen-Shot-2015-12-24-at-14.11.07
    Alp Friend
    #830667
    This reply has been marked as private.
    Ninja Lead Moderator
    #831115

    You can find that code from plugins/system/jalazyload/jalazyload.php

    $sharesHtml .= '<meta property="og:image" content="' . $shareImg . '" />' . "\n";
    Alp Friend
    #831445

    Thank you very much for your reply again.

    Perhaps you have not realized that I am not very good with php.

    Therefore I have no clue how to change this line:
    $sharesHtml .= ‘<meta property="og:image" content="’ . $shareImg . ‘" />’ . "n";

    In that way that it creates this line:
    http://www.mbdincaslan.com/_2016/media/k2/items/cache/832731af5d81b95ba82de72993209600_L.jpg

    so that the code is valid code for all other k2 items.

    Best regards

    Alp

    Alp Friend
    #831452

    Even if I delete line 176 from jalazyload the wrong path still exists.

    And yes, I deleted the cache.

    Ninja Lead Moderator
    #832688

    In this case, you can send me FTP account of your hosting via Set as private reply. I will help you to check it directly on your site

Viewing 10 posts - 1 through 10 (of 10 total)

This topic contains 9 replies, has 2 voices, and was last updated by  Ninja Lead 8 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum