Owdy Posted June 13, 2019 Share Posted June 13, 2019 I wanna ad this to articles meta property="og:image:url" content="ARTICLE IMAGE" /> What is code for that image path? Link to comment Share on other sites More sharing options...
Owdy Posted June 13, 2019 Author Share Posted June 13, 2019 {file="$record->_record_image_thumb" extension="cms_Records"} ? edit: not working Link to comment Share on other sites More sharing options...
newbie LAC Posted June 14, 2019 Share Posted June 14, 2019 The meta tag with og:image property already added on article page \applications\cms\modules\front\database\record.php if ( $record->record_image ) { \IPS\Output::i()->metaTags['og:image'] = (string) \IPS\File::get( 'cms_Records', $record->record_image )->url; } Link to comment Share on other sites More sharing options...
Owdy Posted June 14, 2019 Author Share Posted June 14, 2019 I know, its differend tag Link to comment Share on other sites More sharing options...
newbie LAC Posted June 14, 2019 Share Posted June 14, 2019 http://ogp.me/ Quote og:image:url - Identical to og:image. Anyway you can use above code. Just change some data Link to comment Share on other sites More sharing options...
opentype Posted June 14, 2019 Share Posted June 14, 2019 2 hours ago, Owdy said: I know, its differend tag So why do you need it? I checked, but I can’t find any other information than it being identical to the already used og:image. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.