type == 'image') { return asset($this->value); } return ''; }); } }