public function size()
	{
		if ($this->size === null)
		{
			$this->size = 0;

			$path = $this->path();

			if (file_exists($path))
			{
				$this->size = filesize($path);
			}
		}

		return $this->size;
	}
public function size()
	{
		if ($this->size === null)
		{
			$this->size = 0;

			$path = $this->path();

			if (file_exists($path))
			{
				$this->size = filesize($path);
			}
		}

		return $this->size;
	}
public function size ( ) { if ( $ this -> size === null ) { $ this -> size = 0 ; $ path = $ this -> path ( ) ; if ( file_exists ( $ path ) ) { $ this -> size = filesize ( $ path ) ; } } return $ this -> size ; }
Is the file an image?

@return  boolean
Is the file an image?