public function getDefaultImageInfo()
    {
        if (isset($this->versions[$this->class->getDefaultWidth()])) {
            return $this->versions[$this->class->getDefaultWidth()];
        } else {
            // if the image is smaller than the class default width,
            // $this->versions[$this->class->getDefaultWidth()] will not be defined.
            //
            // return the first available image version instead
            return reset($this->versions);
        }
    }
public function getDefaultImageInfo()
    {
        if (isset($this->versions[$this->class->getDefaultWidth()])) {
            return $this->versions[$this->class->getDefaultWidth()];
        } else {
            // if the image is smaller than the class default width,
            // $this->versions[$this->class->getDefaultWidth()] will not be defined.
            //
            // return the first available image version instead
            return reset($this->versions);
        }
    }
public function getDefaultImageInfo ( ) { if ( isset ( $ this -> versions [ $ this -> class -> getDefaultWidth ( ) ] ) ) { return $ this -> versions [ $ this -> class -> getDefaultWidth ( ) ] ; } else { // if the image is smaller than the class default width, // $this->versions[$this->class->getDefaultWidth()] will not be defined. // // return the first available image version instead return reset ( $ this -> versions ) ; } }
Get WebImageInfo object for the default image size

@return \Wa72\AdaptImage\WebImageInfo
Get WebImageInfo object for the default image size