xref: /webtrees/resources/views/selects/individual.phtml (revision b11cdcd45131b1585d66693fab363cfeb18c51a4)
1<?php
2
3declare(strict_types=1);
4
5use Fisharebest\Webtrees\Individual;
6use Fisharebest\Webtrees\MediaFile;
7
8/**
9 * @var Individual $individual
10 */
11
12?>
13
14<?php if ($individual->findHighlightedMediaFile() instanceof MediaFile) : ?>
15    <?= $individual->findHighlightedMediaFile()->displayImage(30, 40, 'crop', []) ?>&nbsp;
16<?php endif; ?>
17<?= $individual->fullName() ?>, <?= $individual->lifespan() ?>
18