I have a content type teaser with an image field and display these teaser in a panel layout. This works perfect if I choose the Build Mode "Full Content" in the Panel Settings for the content.
I themed the content type with a node template (node--xyz.tpl.php) and have no checks about the view_mode in it. I print out the image with the function render()
:
<?php print render($content['field_teaser_image']); ?>
I'm very confused, as I wrote above, with the Build Mode "Full Content" it works fine. I've checked the Manage Displays Settings and they are the same for both View Modes. The Variable in the render() function is filled in both cases, but in View Mode "Teaser", the output is empty.