I am trying to have an image show up for a static home page. On a base drupal site I created an initial article (node/1) I have then set the home page to be node/1 (admin/config/system/site-information ->default front page). I then go to node/1/edit and under Meta Tag I add the the token [node:field_image] to the Open Graph Image URL. I save the page and when I view source og:image isn't showing up, all I see is og:site_name, og:type, og:url, og:title and og:description.

Any idea's why the image isn't showing up? I tried adding og:image to the metatag_opengraph.metatag.inc file under the case global and global:frontpage and that made no difference either... any suggestions?

Comments

klevyke’s picture

Same problem here...
- basic page set as front page
- image field specified at page level meta
no og:image tag generated

DamienMcKenna’s picture

Status: Active » Fixed

If you want to have a node as the front page and use its meta tags you need to disable the front page configuration on admin/config/search/metatags. Alternatively editing the meta tags for the front page configuration will

If that doesn't work, there can be problems with the theme, i.e. some themes like Omega hide the 'content' region on the front page, so you might also try going to the Metatag settings page (admin/config/search/metatags/settings) and changing the "Page region to use" to "Footer".

If these don't solve the problem, please reopen the issue and we can discuss it further.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.