public function getPreviewAttribute()
    {
        if ($this->use_html) {
            return 'HTML Content';
        } elseif ($this->path) {
            $row_image = ImageHelper::getImageUrl($this->path);
            return '<img src="' . $row_image . '" class="thumbnail" />';
        }
    }