<?php
$default_settings = [
    'title' => '',
    'icon_image' => '',
];
$settings = array_merge($default_settings, $settings);
extract($settings);

if ( ! empty( $settings['image']['url'] ) ) {
    $widget->add_render_attribute( 'image', 'src', $settings['image']['url'] );
    $widget->add_render_attribute( 'image', 'alt', \Elementor\Control_Media::get_image_alt( $settings['image'] ) );
    $widget->add_render_attribute( 'image', 'title', \Elementor\Control_Media::get_image_title( $settings['image'] ) );
}
$image_html = \Elementor\Group_Control_Image_Size::get_attachment_image_html( $settings, 'thumbnail', 'image' );
?>
<div class="ct-banner1">
	<div class="ct-banner-imge">
    	<?php echo wp_kses_post($image_html); ?>
        <h3 class="ct-banner-title"><?php echo esc_attr($title); ?></h3>
    </div>
</div>