View source for Open Graph protocol integration

I want to do the integration, is there an easy way to get the first photo of a page from the template?

the idea is to be able to easily add these META:

%%(hl html)
<meta property="og:title" content="Example title of article">
<meta property="og:site_name" content=" website">
<meta property="og:type" content="article">
<meta property="og:url" content="">
<meta property="og:image" content="">
<meta property="og:description" content="This example article is an example of OpenGraph protocol.">


Semantic Markups
  * (( The Open Graph protocol))
  * ((
  * (( Google Rich Results Test Tool))