<?php

declare(strict_types=1);

use Fisharebest\Webtrees\Individual;
use Fisharebest\Webtrees\MediaFile;

/**
 * @var Individual $individual
 */

?>

<?php if ($individual->findHighlightedMediaFile() instanceof MediaFile) : ?>
    <?= $individual->findHighlightedMediaFile()->displayImage(30, 40, 'crop', []) ?>&nbsp;
<?php endif; ?>
<?= $individual->fullName() ?>, <?= $individual->lifespan() ?>
