public function dimensions()
	{
		if (!$this->dimensions)
		{
			$this->dimensions = array(0, 0);

			if ($this->isImage() && file_exists($this->path()))
			{
				$this->dimensions = getimagesize($this->path());
			}
		}

		return $this->dimensions;
	}
public function dimensions()
	{
		if (!$this->dimensions)
		{
			$this->dimensions = array(0, 0);

			if ($this->isImage() && file_exists($this->path()))
			{
				$this->dimensions = getimagesize($this->path());
			}
		}

		return $this->dimensions;
	}
public function dimensions ( ) { if ( ! $ this -> dimensions ) { $ this -> dimensions = array ( 0 , 0 ) ; if ( $ this -> isImage ( ) && file_exists ( $ this -> path ( ) ) ) { $ this -> dimensions = getimagesize ( $ this -> path ( ) ) ; } } return $ this -> dimensions ; }
File width and height

@return  array
File width and height