Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- Galerie -->
- <?php
- $images = get_field('reihe_episoden_galerie');
- if( $images ): ?>
- <?php foreach( $images as $image ): ?>
- <div class="gallery-acf">
- <a itemprop="image" rel="lightbox" href="<?php echo $image['url']; ?>">
- <img itemprop="thumbnailURL" src="<?php echo $image['sizes']['thumbnail']; ?>" alt="<?php echo $image['alt']; ?>" />
- </a>
- <br />
- <?php echo $image['caption']; ?>
- </div>
- <?php endforeach; ?>
- <?php endif; ?>
- <!-- END Galerie -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement