How do I use field_view_field inside a custom views .tpl? I have a view set up that uses an image from a node, I have customized the views-view-field.tpl to change the url the image links to dependent on the content type. I am trying to print out the picture using field_view_field in the .tpl, but its just printing out "array". Here is what I'm working with.

&lt;?php if ($row-&gt;node_type =='article'): ?&gt;
&lt;a href="http://www.someurl.com"&gt;&lt;?php print field_view_field('node', $row, 'field_field_image');?&gt;&lt;/a&gt;


What am I doing wrong?
Thanks.
Ok, so I figured it out. First I did a node load:

&lt;?php $node = node_load($row-&gt;nid);?&gt;


Then I had to wrap my field_view_field in a drupal_render, finally I added my image style name in the display parameter, like this:

&lt;?php print drupal_render(field_view_field('node', $node, 'field_image', 'image_style'));?&gt;