Edit in JSFiddle

(function($) {

    $(document).ready(function() {

        $(window).scroll(function () {

          function isScrolledIntoView(elem) {
            var elementTop = $(elem).offset().top;
            var elementBottom = elementTop + $(elem).outerHeight();
            var viewportTop = $(window).scrollTop();
            var viewportBottom = viewportTop + $(window).height();
            return (elementBottom > viewportTop && elementTop < viewportBottom);
          }
  
          $('.wrap-img').each(function(){
            if (isScrolledIntoView(this) == true) {
              $(this).addClass('activElem');
            } else {
              $(this).removeClass('activElem');
            }
          });
        
        });	 
        
    });
})(jQuery);
<main>
  <div class="wrap-img">
    <img src="https://alextade.me/photo/photo13.jpg" />
  </div>
  <div class="wrap-text">
    Lorem Ipsum is simply dummy text of the printing and typesetting industry. 
    Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, 
    when an unknown printer took a galley of type and scrambled it to make a type specimen book. Lorem Ipsum is simply dummy text of the printing and typesetting industry. 
  </div>
  <div class="wrap-img">
    <img src="https://alextade.me/photo/photo13.jpg" />
  </div>
  <div class="wrap-text">
    Lorem Ipsum is simply dummy text of the printing and typesetting industry. 
    Lorem Ipsum has been the industry's standard dummy text ever since the 1500s. 
  </div>
  <div class="wrap-img">
    <img src="https://alextade.me/photo/photo13.jpg" />
  </div>
  <div class="wrap-text">
    Lorem Ipsum is simply dummy text of the printing and typesetting industry. 
    Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, 
    when an unknown printer took a galley of type and scrambled it to make a type specimen book. Lorem Ipsum is simply dummy text of the printing and typesetting industry.
    Lorem Ipsum is simply dummy text of the printing and typesetting industry. 
    Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.
    <a href="https://alextade.me/">alex tade artist</a>.
  </div> 
</main>
*{
    margin: 0;
    padding: 0;
}
img{
    display: block;
    width: 100%;
}
.wrap-text{
    padding: 100px 50px;
    text-align: center;
}
.wrap-img{
    overflow: hidden;
}
.wrap-img img{
    transition: all 5s ease-in-out;
}
.activElem img{
    transform: scale(1.1) translate(20px,10px);
}