<?php
$images = get_field(‘bkg_slide_gallery’, 'option');
if( $images ): ?>
<ul class="clearfix row">
<?php foreach( $images as $image ): ?>
<li>
<img src="<?php echo $image['url']; ?>" alt="<?php echo $image['alt']; ?>" />
<p><?php echo $image['caption']; ?></p>
</li>
<?php endforeach; ?>
</ul>
<?php endif; ?>