xref: /webtrees/resources/views/selects/individual.phtml (revision 45ebc6c6221f90468111ed2015b8449dca331d93)
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