Hi!

Since I started to add Facebook functionality with "Facebook social module" to the Site I've been dealing with a problem.

None of the available Modules "Open Graph Meta" or "Auto Open Graph" adds Inline/upload files/images to the Metadata.

Basically they cannot find the IMG... code inside the "body". Normally get the PDF or Printer icon in the Links tab.

So I decided to see if I could do this using "Inline_Upload.module"..

I was able to to, but it's not the best solution:

At the "Inline_Upload.module" I've added the following code:

drupal_set_html_head('<meta property="og:image" content="' . $url . '"/>');

My solution was to add it at the "function theme_inline_upload_img" after the:

$url = file_create_url($file->filepath);

This results in a duplicated: Meta Tag for each picture. But it works.

If any one would like to develop this idea would be great.

Until now I'm testing it successfully in my site I get the Node picture (inline file) when I press the Like button.

Best Regards,
Ricardo.