<?php $images = get_field('gallery');
if( $images ): ?>
<div class="lp-container">
    <div class="wrap-gallery px-50">
        <div class="list-img">
            <?php foreach( $images as $image ): ?>
            <div class="img"><img src="<?php echo esc_url($image['url']); ?>" alt="<?php echo esc_attr($image['alt']); ?>" /></div>
            <?php endforeach; ?>
        </div>                
    </div>
</div>
<?php endif; ?>