<?php switch ($displayMode):

    case 'image-single': ?>
        <?= $this->makePartial('image_single') ?>
    <?php break ?>

    <?php case 'image-multi': ?>
        <?= $this->makePartial('image_multi') ?>
    <?php break ?>

    <?php case 'file-single': ?>
        <?= $this->makePartial('file_single') ?>
    <?php break ?>

    <?php case 'file-multi': ?>
        <?= $this->makePartial('file_multi') ?>
    <?php break ?>

<?php endswitch ?>
