 <?php
		$image = get_field('picture');
		$size = 'member_loop';
			if($image){
			$thumb = $image['sizes'][$size];
			}
		?>



    		<div class="member-loop mht">
           
            <?php if($thumb)  { ?>
         <div class="member-img" data-mh="image">
           <a href="<?php the_permalink(); ?>">         
           <img src="<?php echo $thumb; ?>" alt="<?php the_title() ?>" />
           </a>
         
         </div> <!--m-img-->                  
                              
        <?php } else { ?>
        
           <div class="member-img no-img" data-mh="image">
          <a href="<?php the_permalink(); ?>">    
              <img src="<?php bloginfo ('template_url'); ?>/images/member.png"  alt="<?php the_title() ?>" />          
           </a>
           </div><!--m-img-->
         <?php } ?>     
        	
        <h3 class="m-title">
         <a href="<?php the_permalink(); ?>">   
          <?php 
		  /*
			 $pref = get_field ('pref');
			 if ((get_field ('pref'))&&($pref !='none')) { ?>
             <span><?php the_field ('pref'); ?></span>
             <?php } 
			 */?>
             <span><?php the_field ('first_name'); ?> <?php the_field ('last_name'); ?></span>
             </a>
          </h3>
          
          
           <?php if (get_field ('title')) {
			   	/*$ac_title = get_field_object( 'title' );
				$ac_title_value = $ac_title['value'];
				$ac_title_label = $ac_title['choices'][ $ac_title_value ];
				*/
			    ?> 
           <div class="academic-title">
           <?php the_field ('title') ?>
           </div>
           <?php } ?>

</div><!--loop-->