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