xref: /webtrees/resources/views/modules/lightbox/tab.phtml (revision 4a52049613a3fd380896a97f74b94d45ccccc97c)
1<div class="wt-album-tab py-4">
2    <?php foreach ($media_list as $media) : ?>
3        <figure class="figure text-center col-sm-6 col-md-4 col-lg-3 col-xl-2 wt-album-tab-figure">
4            <?php foreach ($media->mediaFiles() as $media_file) : ?>
5                <?= $media_file->displayImage(100, 100, 'contain', ['class' => 'img-thumbnail wt-album-tab-image']) ?>
6            <?php endforeach ?>
7            <figcaption class="figure-caption wt-album-tab-caption">
8                <a href="<?= e($media->url()) ?>">
9                    <?= $media->fullName() ?>
10                </a>
11            </figcaption>
12        </figure>
13    <?php endforeach ?>
14</div>
15