how to get the NodeID into views-view-field--field-image.tpl.php to create an  redirect
This is in a view correct? I believe you need to use node_load($nid) to load the node data first in order to fetch it. I would try something like this

$node = node_load($nid);
$nodeurl = url('articles/' . $node-&gt;nid);