public function getSrc() { $image = $this->getImage(); if ($image instanceof Asset) { return $image->getFullPath(); } return ""; }