Good time. when connecting ya share, the data_image = "url to image" parameter is specified, but the picture does not load when the repost is on.

<script type="text/javascript" src="//yastatic.net/es5-shims/0.0.2/es5-shims.min.js" charset="utf-8"></script> <script type="text/javascript" src="//yastatic.net/share2/share.js" charset="utf-8"></script> <div class="ya-share2" data-services="vkontakte,facebook,odnoklassniki" data-image="http://site.com/img.jpg" data-counter=""></div><br> 

What could be the problem?

And the second question. Why can not display statistics on the buttons on the metric? The button is long, people are divided, but nothing is recorded in the statistics. Maybe this is due to the lack of the data-counter parameter (it was not there before)

  • Please do not ask a few questions in one. About the picture is the answer here . And in this matter it is necessary to leave only the second part and correct the name. - Roman Paradeev

1 answer 1

Vkontakte, facebook and g + look in the OpenGraph markup, use it for better control of sharing:

Or, only then, to substantively understand and see what could have gone wrong.

About the metrics. Probably you should write in support of the Metric itself, at least according to my resources, I see in the statistics a normal flow of data.