public function getRealWidth() { return $this->getAttributeDirectly('real-width') ?: parent::getRealWidth(); }