function get_orientation() {
        if (imagesx($this->image) > imagesy($this->image)) {
            return 'landscape';
        }
        if (imagesx($this->image) < imagesy($this->image)) {
            return 'portrait';
        }
        return 'square';
    }
function get_orientation() {
        if (imagesx($this->image) > imagesy($this->image)) {
            return 'landscape';
        }
        if (imagesx($this->image) < imagesy($this->image)) {
            return 'portrait';
        }
        return 'square';
    }
function get_orientation ( ) { if ( imagesx ( $ this -> image ) > imagesy ( $ this -> image ) ) { return 'landscape' ; } if ( imagesx ( $ this -> image ) < imagesy ( $ this -> image ) ) { return 'portrait' ; } return 'square' ; }
Get the current orientation

@return string   portrait|landscape|square
Get the current orientation