Im trying to add open graph protocol meta og:image to brilliant gallery images. I have a problem with cache and I'm thinking I did it wrong, so I expose it to community in order to give an idea and take some help. At this moment, sometimes you could see the "meta-tags" in header, but sometimes not.
I'm add in a couple lines in gallery_showtime.inc. Maybe it´s not the correct place to insert this code (line 592):
$result .= drupal_add_html_head(array(
'#tag' => 'meta',
'#attributes' => array(
'property' => 'og:image',
'content' => $imgsrc,
), 'node_' . $retval[$poct - 1] . '_og_image');
Any ideas? Can somebody help me and give an option to brilliant gallery users?
Thanks in advance