<?php if (!$isError): ?>
    <img src="<?= $imageUrl ?>"/>
<?php else: ?>
    <i class="icon-chain-broken" title="<?= e(trans('cms::lang.media.thumbnail_error')) ?>"></i>
    <p class="thumbnail-error-message"><?= e(trans('cms::lang.media.thumbnail_error')) ?></p>
<?php endif ?>