Drupal 7 - How to loop foreach in multiple value in custom view
I found it out; the correct code is the following one.

&lt;?php foreach ($view-&gt;result as $id =&gt; $vue): ?&gt;
  &lt;?php if($vue): ?&gt;  
    &lt;?php print $vue-&gt;nid; ?&gt;
    &lt;?php print $vue-&gt;node_title; ?&gt;

    &lt;?php foreach ($vue-&gt;_field_data["nid"]["entity"]-&gt;field_galerie_image['und'] as $val): ?&gt;
      &lt;?php print $val['filename']; ?&gt;
    &lt;?php endforeach; ?&gt;
  &lt;?php endif; ?&gt;
&lt;?php endforeach; ?&gt;