CImage.php
public function isRemoteSource($src)
    {
        $remote = preg_match($this->remotePattern, $src);
        $this->log("Detected remote image: " . ($remote ? "true" : "false"));
        return !!$remote;
    }
public function isRemoteSource($src)
    {
        $remote = preg_match($this->remotePattern, $src);
        $this->log("Detected remote image: " . ($remote ? "true" : "false"));
        return !!$remote;
    }
public function isRemoteSource ( $ src ) { $ remote = preg_match ( $ this -> remotePattern , $ src ) ; $ this -> log ( "Detected remote image: " . ( $ remote ? "true" : "false" ) ) ; return ! ! $ remote ; }
Check if the image resource is a remote file or not.

@param string $src check if src is remote.

@return boolean true if $src is a remote file, else false.
Check if the image resource is a remote file or not .