<?php global $post, $ele_thumbnail_size, $image_size; 

$thumbnail_size = !empty($ele_thumbnail_size) ? $ele_thumbnail_size : $image_size;
?>
<div class="listing-image-wrap">
	<div class="listing-thumb">
		<a <?php houzez_listing_link_target(); ?> href="<?php echo esc_url(get_permalink()); ?>" class="listing-featured-thumb hover-effect image-wrap" role="link">
			<?php
		    if( has_post_thumbnail( $post->ID ) && get_the_post_thumbnail($post->ID) != '' ) {
		        the_post_thumbnail( $thumbnail_size, array('class' => 'img-fluid') );
		    }else{
		        houzez_image_placeholder( $thumbnail_size );
		    }
		    ?>
		</a><!-- hover-effect -->
	</div>
</div>