if ($this->width > $this->height) {
            $this->setOrientation(self::ORIENTATION_LANDSCAPE); 
        }