CRemoteImage.php
public function loadCacheDetails()
    {
        $cacheFile = md5($this->url);
        $this->fileName = $this->saveFolder . $cacheFile;
        $this->fileJson = $this->fileName . ".json";
        if (is_readable($this->fileJson)) {
            $this->cache = json_decode(file_get_contents($this->fileJson), true);
        }
    }
public function loadCacheDetails()
    {
        $cacheFile = md5($this->url);
        $this->fileName = $this->saveFolder . $cacheFile;
        $this->fileJson = $this->fileName . ".json";
        if (is_readable($this->fileJson)) {
            $this->cache = json_decode(file_get_contents($this->fileJson), true);
        }
    }
public function loadCacheDetails ( ) { $ cacheFile = md5 ( $ this -> url ) ; $ this -> fileName = $ this -> saveFolder . $ cacheFile ; $ this -> fileJson = $ this -> fileName . ".json" ; if ( is_readable ( $ this -> fileJson ) ) { $ this -> cache = json_decode ( file_get_contents ( $ this -> fileJson ) , true ) ; } }
Get the path to the cached image file if the cache is valid.

@return $this
Get the path to the cached image file if the cache is valid .