<br>
  <br>
  <?php 
print _views_field($fields, 'title');
?>
  <div class="blog-post-info"> <span><i class="fa fa-user"></i> <?php 
print t('By');
?>
 <?php 
print _views_field($fields, 'name');
?>
</span> 
    <span><i class="fa fa-comments-o"></i> <?php 
print _views_field($fields, 'comment_count');
?>
 <?php 
print t('Comments');
?>
</span> 
    <span><i class="fa fa-folder-open"></i> <?php 
print t('category');
?>
 / <?php 
print _views_field($fields, 'field_main_category');
?>
</span> </div>
  <br>
  <?php 
_print_views_fields($fields);
?>
</div>
 *   - $field->inline_html: either div or span based on the above flag.
 *   - $field->wrapper_prefix: A complete wrapper containing the inline_html to use.
 *   - $field->wrapper_suffix: The closing tag for the wrapper.
 *   - $field->separator: an optional separator that may appear before a field.
 *   - $field->label: The wrap label text to use.
 *   - $field->label_html: The full HTML of the label to use including
 *     configured element type.
 * - $row: The raw result object from the query, with all data it fetched.
 *
 * @ingroup views_templates
 */
$image = _get_node_field($row, 'field_field_images');
$path = isset($image[0]) ? $image[0]['raw']['uri'] : '';
?>
<a class="gallery-images" rel="fancybox-<?php 
print $view->vid;
?>
" href="<?php 
print file_create_url($path);
?>
">
  <?php 
print $fields['field_images']->content;
?>
  <span class="bg-images">
    <i class="fa fa-search"></i>
  </span>
</a>
<?php 
print _print_views_fields($fields, array('field_images', 'field_images_1'));