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