Hi there. Please excuse me if I've missed any discussion or solution to this, as I've searched but couldn't find anything. My problem is that I have a single CCK image field that is virtually always used as the opening image to a post. Given this, is there a way I can have this module always default to using that for og:image if the field has content, without the author having to check it? This would really help streamline things for my clients.

Comments

endreece’s picture

+1 Nice concept, very drupalish

tararowell’s picture

Title: Option for og:image to default to a specific field? » CCK Images

See http://drupal.org/node/1117156 #8 for my CCK solution.

hiddentao’s picture

Status: Active » Closed (won't fix)
mattwmc’s picture

Issue summary: View changes

I just hard coded it into my page.tpl file:

<meta property="og:image" content="http://www.sitename.com/<?php print $node->field_yourfieldname[0]['filepath'] ?>" />