I'm trying to add a piece of markup with a field in hook_node_view(). It's a little thumb icon for a music site, and I want to overlay this image over another field image (which I'll do with CSS). However, it's not rendering, and I feel pretty confident that I'm going about it the right way. Here is my addition to the node array:
$node->content['like'] = array(
'#theme' => 'image',
'#path' => '/sites/default/files/likeimg.png',
'#alt' => 'like',
'#prefix' => '<div class="like">',
'#suffix' => '</div>',
'#weight' => -1,
'#attributes' => array(
'class' => array('like-img')
)
);
What am I missing? I am using Display Suite with fields in blocks, and Omega 3.