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