Imagelay is a simple jQuery plugin to view your image in overlay
0.1.0
$('.c-text-image__image').imagelay({
mainClass: 'c-overlay',
contentClass: 'c-overlay--content',
closeIcon: 'c-overlay--close',
animation: 'fadeIn',
closeOnOutsideClick: true
});
<div class="c-text-image__image" data-imagelay>
<img src="assets/images/image-content-left.jpg" />
</div>
jQuery https://jquery.com/
MIT License