images modifs

This commit is contained in:
sarahgarcin1 2026-04-09 18:19:19 +02:00
parent 0545b131de
commit 714f0a12f8
20 changed files with 134 additions and 22 deletions

View file

@ -8,13 +8,14 @@ $src = $block->image()->toFile()->url();
?>
<?php if ($src): ?>
<figure class="print-image full-page <?= $block->taille()->esc() ?>">
<figure class="print-image full-page <?= $block->taille()->esc() ?>">
<img src="<?= $src ?>" alt="<?= $alt->esc() ?>">
<img src="<?= $src ?>" alt="<?= $alt->esc() ?>">
<?php if ($caption->isNotEmpty()): ?>
<figcaption>
<?= $caption->kt() ?>
</figcaption>
<?php endif ?>
</figure>
<?php if ($caption->isNotEmpty()): ?>
<figcaption>
<?= $caption->kt() ?>
</figcaption>
<?php endif ?>
</figure>
<?php endif ?>