Google Site Search Thumbnail Image - May be feature request

Permalink
Hello Concrete5 Team,

We are facing a problem with Google Site Search indexing the wrong image as the representative thumbnail image from our site's pages. Currently it shows any image available on the page (eg: internal advertisement, Site Logo, etc) as thumbnail in Google site search. Even if we've deliberately entered an image on the pages thumbnail attribute field, Google Site Search still chooses another inappropriate image from the page and. Google Site Search used to show the proper images fore our old HTML site. It would be ideal if the Concrete5 team would find some way Google Site Search to use the image we assign to the pages thumbnail attribute, if there were anyway to achieve that functionality.

If this functionality is possible to implement into Concrete5, we would certainly like to see it implemented into future versions. We noticed that even Concrete5.org uses Google Site Search so perhaps there might be some sort of invested interest in this feature.

Thank You

 
cmerritt replied on at Permalink Reply
cmerritt
Hi,

I added this to the site's theme header for a client with the same issue.

<?php $thumbnail = $c->getAttribute('thumbnail'); ?>
    <?php  if ($thumbnail) { ?>
    <meta property="og:image" content="<?php echo ($thumbnail->getVersion()->getURL()); ?>" />
    <?php } ?>



Colin
parth0072 replied on at Permalink Reply
Thanks a lot for your Help, it worked. You are the best :)