Adding the image_src tag is essential in order to control the way facebook and digg display links to your site.

When I design sites, I frequently design sites without the need for a logo file for design purposes. The logo is embedded in the background so Facebook and Digg display an improper image.

I would like to add the image_src tag to at least the front page if not every page. I've experimented with the meta tag (nodewords) mod and I'm somewhat close to cracking it, but isn't there an easier way to do this quick and dirty in the page.tpl file? I tried adding it in multiple places in the head tag, none of which worked.

I'm stumped and I think this is very important.

Comments

jasom’s picture

I looking for solution too

greg.1.anderson’s picture

nodewords does not seem support this head tag (according to documentation, anyway).

I only needed one image for every page on my site, so I put the support in my theme.

This should have worked, but didn't:

drupal_set_html_head('
');

I think there is something broken about my Artisteer-generated theme vis-a-vis drupal_set_html_head, but I don't know what yet. In any event, I just added the link to page.tpl.php:

That worked.