Results in view page having multiple duplicate result I am having a gallery view page taken from a content type which is displaying the results based on relationship and contextual filters. I am getting multiple fields of a node that seem to be duplicates, even though I have checked the reduce duplicate check box in contextual filter field.
Anyone can help on this issues to get perfect value.
What version of Drupal/Views are you using?
In Views v7.x-3.x you can use hook_views_pre_render() in your template.php file or in a module to filter duplicate results like this:

function YOURTHEMENAME_views_pre_render(&amp;$view) {
  $used_nids = array();
  $new_view_result = array();

  if ($view-&gt;name == 'YOURVIEWNAME') {
    foreach ($view-&gt;result as $row) {
        if (!in_array($row-&gt;nid, $used_nids)) {
          $new_view_result[] = $row;
          $used_nids[] = $row-&gt;nid;
        }
    }

    $view-&gt;result = $new_view_result;
  }
}