<!--start image -->
<?php if( has_post_thumbnail() ) : ?>

	<div class="blog-thumb effect-zoom">
		<?php 	$image_thumb = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'featured-image-thumb'); 
		
		if ( get_theme_mod( 'kktfwp_blog_sidebar' ) !== 'full' && ! get_theme_mod( 'kktfwp_blog_single' ) ) {
			$image_size = 'medium_large';
		} else {
			$image_size = 'large';
		};		
		?>		
		
		<a class="kk-lightbox" data-group="kk-lightbox[<?php the_ID();?>]" href="<?php echo esc_url($image_thumb[0]); ?>" >
			<?php the_post_thumbnail( $image_size ); ?>		
			<span class="kk-n"><?php esc_html_e( 'View','toppic' ); ?></span>				
		</a>
					
	</div>
<?php endif ?> 
<!--end image -->