This is a question in reference to Drupal 7, using the Zurb Foundation base theme framework. I've created a specific content type that only has an image field in it for purposes of making the image itself content manageable by the user so they can add/remove as they'd like.
I thought that I could access that image with the following code in my page--front.tpl.php file per my Googling of the subject, however, I'm getting no output at all.
<?php print render(field_view_field('node', $node, 'field_my_image_field', array('label'=>'hidden')));
?>
I've also attempted several different variations of this to no avail.
How can I access and print
out the contents of that field from that content type into my custom page template?