Facebook Open Graph

0
Thumbnail images are too small for facebook opengraph to work properly. Any changes coming soon?
Responses (2)
  • Accepted Answer

    Tuesday, April 01 2014, 04:44 PM - #Permalink
    0
    originally, the size of the pictures were restricted by facebook, actually, to 110px max.

    this is set in file /components/com_muscol/views/album/view.html.php around file 202 you see this:

    $document->addHeadLink( $uri->base() . MusColHelper::getThumbnailSrc( $album->image, '110', '110' ) , 'image_src');


    you can change the size to say, 300, like this:

    $document->addHeadLink( $uri->base() . MusColHelper::getThumbnailSrc( $album->image, '300', '300' ) , 'image_src');
    • Mark Clarke
      more than a month ago
      Is there anyway to provide the og:image explicitly?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, April 02 2014, 08:52 AM - #Permalink
    0
    yes, you can add this, in the same place:

    $document->addCustomTag( '<meta property="og:image" content="'.$uri->base() . "images/albums/". $album->image.'" />' ) ;
    The reply is currently minimized Show
Your Reply