ADD THIS TO THE PHP & HTML SECTION OF THE CODE BLOCK:
<?php
global $meta_box_current_group_fields;
$image_src = wp_get_attachment_image_src($meta_box_current_group_fields['tool_image'][0], "full")[0];
?>
<img class="mb-image__img" src="<?= $image_src; ?>">
ADD THIS TO THE CSS SECTION OF THE CODE BLOCK:
.mb-image {
width: 100%;
}
.mb-image > .mb-image__img {
width: 100%;
height: 100%;
object-fit: cover;
}