xref: /webtrees/resources/views/modules/lightbox/tab.phtml (revision 00b1984e374faddab4698e73088f0c964e529b65)
1<div class="wt-tab-album 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