public function image($path, array $options = [])
    {
        $pathPrefix = Configure::read('App.imageBaseUrl');

        return $this->assetUrl($path, $options + compact('pathPrefix'));
    }
public function image($path, array $options = [])
    {
        $pathPrefix = Configure::read('App.imageBaseUrl');

        return $this->assetUrl($path, $options + compact('pathPrefix'));
    }
public function image ( $ path , array $ options = [ ] ) { $ pathPrefix = Configure :: read ( 'App.imageBaseUrl' ) ; return $ this -> assetUrl ( $ path , $ options + compact ( 'pathPrefix' ) ) ; }
Generates URL for given image file.

Depending on options passed provides full URL with domain name. Also calls
`Helper::assetTimestamp()` to add timestamp to local files.

@param string|array $path Path string or URL array
@param array $options Options array. Possible keys:
`fullBase` Return full URL with domain name
`pathPrefix` Path prefix for relative URLs
`plugin` False value will prevent parsing path as a plugin
`timestamp` Overrides the value of `Asset.timestamp` in Configure.
Set to false to skip timestamp generation.
Set to true to apply timestamps when debug is true. Set to 'force' to always
enable timestamping regardless of debug value.
@return string Generated URL
Generates URL for given image file .