Witam
mam mały, ale uciążliwy kłopot z danymi, które pojawiają się po kliknięciu w button Google+; kod wygląda tak:
w nahłówku strony:
<html lang="pl" itemscope itemtype="http://schema.org/Article">
<meta itemprop="name" content="nazwa">
<meta itemprop="description" content="opis">
<meta itemprop="image" content="http://domena.pl/moja-fotka.jpg">
w treści strony:
<div class="g-plus" data-action="share" data-annotation="none" data-href="{$article_path}"></div>
<script type="text/javascript">
window.___gcfg = {lang: 'pl'};
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/platform.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
I teraz tak, nazwa strony oraz opis się zgadzają, ale niestety problem jest ze zdjęciem, pokazuje mi nie to co trzeba- ma przecież w meta-tagach pokazane jakie zdjęcie, a bierze mi fotkę z głównej strony.
O co chodzi ?