Output images using the ACF Photo Gallery Field plugin (WordPress)

Each entry should be able to add a gallery of images. I found an option for the ACF Photo Gallery Field plugin, I output it this way, but the img tag outputs an empty one. Please tell me where I make a mistake or maybe there is a better way to implement loading multiple images

<div class="presentation-grid">
    <?php if(have_posts()){ while (have_posts()) {the_post(); ?>
        <?php $images = acf_photo_gallery('gallery', $post->ID); if(count($images)): ?>
        <?php foreach($images as $image): ?>
            <img src="<?php echo $image['url']; ?>">
        <?php endforeach; ?>
        <?php endif; ?>
    <?php } /* конец while */?>
    <?php } /* конец if */?>
</div>
Author: Alexa, 2019-08-17

1 answers

<div class="presentation-grid">
    <?php if(have_posts()){ while (have_posts()) {the_post(); ?>
        <?php $images = acf_photo_gallery('gallery', $post->ID); if(count($images)): ?>
        <?php foreach($images as $image): ?>
            <img src="<?php echo $image['full_image_url']; ?>">
        <?php endforeach; ?>
        <?php endif; ?>
    <?php } /* конец while */?>
    <?php } /* конец if */?>
</div>

The link to the full-size image is available by the key full_image_url

 0
Author: Dmitry B., 2019-08-17 10:50:41