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.
<?php if ($row->node_type =='article'): ?> <a href="http://www.someurl.com"><?php print field_view_field('node', $row, 'field_field_image');?></a>
What am I doing wrong? Thanks.