<meta property="og:url" content="https://{$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI}" />
{if $mse.controller === 'track'}
<meta property="og:image" content="{$track.poster}" />
{elseif $mse.controller === 'search'}
<meta property="og:image" content="{$results.tracks.0.poster_big}" />
{else}
<meta property="og:image" content="/uploads/noalbum.png" />
{/if}
{elseif $mse.controller === 'pages/radio'}
<meta property="og:image" content="{$radio.poster}" />
{elseif $mse.controller === 'search'}
<meta property="og:image" content="{$album.image.src|regex_replace:'#{size}#':'126x126'|regex_replace:'#http:#':''}" />
{include
file="header.tpl"
page_meta_title='ТОП-100 треков'
page_meta_description='ТОП-100 треков бесплатно и без регистрации'
page_meta_keywords=''
canonical='https://{$smarty.server.HTTP_HOST}/page/top-100'
}
{if $mse.controller === 'main'}
<meta property="og:image" content="{$mse.template}/img/musicat.png" />
{elseif $mse.controller === 'track'}
<meta property="og:image" content="{$track.poster}" />
{elseif $mse.controller === 'artist'}
<meta property="og:image" content="{$artist.poster}" />
{elseif $mse.controller === 'album'}
<meta property="og:image" content="{$album.poster}" />
{elseif $mse.controller === 'radio'}
<meta property="og:image" content="{$radio.poster}" />
{elseif $mse.controller === 'search'}
<meta property="og:image" content="{$results.tracks.0.poster_big}" />
{else}
<meta property="og:image" content="/uploads/noalbum.png" />
{/if}
footer.tpl
тег $mse.controller
и сверьте результат вывода с указанными в шаблоне данными. Скорее всего, дело в регистре.lower
.{$mse.controller|lower}