Note that you should check if an image exist to prevent errors.
$image = $this->file() ? Html::img($image->url()) : '';
Note that you should check if an image exist to prevent errors.
$image = $this->file() ? Html::img($image->url()) : '';