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