<div class="fl-post-<?php echo sanitize_html_class( $layout ); ?>-image">
	<?php do_action( 'fl_builder_post_' . $layout . '_before_image', $settings, $this ); ?>

	<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>">
		<?php
		/**
		 * @since 2.2.5
		 * @see fl_render_featured_image_fallback
		 */
		$fallback_image = apply_filters( 'fl_render_featured_image_fallback', $settings->image_fallback, $settings );
		echo wp_get_attachment_image( $fallback_image, $settings->image_size );
		?>
	</a>

	<?php do_action( 'fl_builder_post_' . $layout . '_after_image', $settings, $this ); ?>

</div>
