<?php $image_size = isset( $image_size ) ? $image_size : 'full'; ?>

<?php if ( has_post_thumbnail() ) { ?>
	<div class="mkdf-post-image">
		<?php if ( oaza_mikado_blog_item_has_link() ) { ?>
			<a itemprop="url" href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>">
		<?php } ?>
			<?php the_post_thumbnail( $image_size ); ?>
		<?php if ( oaza_mikado_blog_item_has_link() ) { ?>
			</a>
		<?php } ?>
		<?php do_action('oaza_mikado_action_blog_inside_image_tag')?>
	</div>
<?php } ?>