/** * @param string the URL of the image file */ public function setImageUrl($value) { if (parent::getImageUrl() === $value) { return; } parent::setImageUrl($value); if ($this->getActiveControl()->canUpdateClientSide()) { $this->getPage()->getCallbackClient()->setAttribute($this, 'src', $value); } }