nouveaux tests
This commit is contained in:
parent
87eb528e7b
commit
00edad1729
117 changed files with 5757 additions and 141 deletions
|
|
@ -7,7 +7,7 @@ $ratio = $block->ratio()->or('auto');
|
|||
<figure<?= Html::attr(['data-ratio' => $ratio, 'data-crop' => $crop], null, ' ') ?>>
|
||||
<ul>
|
||||
<?php foreach ($block->images()->toFiles() as $image): ?>
|
||||
<li>
|
||||
<li class="<?= $image->taille()->esc()?> <?= $image->orientation()?>">
|
||||
<a href="<?= $image->url() ?>" class="glightbox" <?php if($caption->isNotEmpty()):?> data-glightbox="title: <?= $caption ?>"<?php endif?>>
|
||||
<?= $image ?>
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ $src = $block->image()->toFile()->url();
|
|||
<?php endif ?>
|
||||
</figure>
|
||||
|
||||
<figure class="print-image full-page" style="height:<?= $block->image()->toFile()->height()?>px">
|
||||
<figure class="print-image full-page <?= $block->taille()->esc() ?>" style="height:<?= $block->image()->toFile()->height()?>px">
|
||||
<?php if($srcred = $block->imagered()->toFile()):?>
|
||||
<div class="print-red red-layer">
|
||||
<img src="<?= $srcred->url() ?>" alt="<?= $alt->esc() ?>">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue