public function getRealHeight() { if (!$this->realHeight) { $this->getDimensions(); } return $this->realHeight; }