src/View/Helper/GlideHelper.php
public function url($path, array $params = [])
    {
        $base = true;
        if (isset($params['_base'])) {
            $base = $params['_base'];
            unset($params['_base']);
        }
        $url = $this->urlBuilder()->getUrl($path, $params);
        if ($base && strpos($url, 'http') !== 0) {
            $url = $this->request->getAttribute('webroot') . ltrim($url, '/');
        }

        return $url;
    }
public function url($path, array $params = [])
    {
        $base = true;
        if (isset($params['_base'])) {
            $base = $params['_base'];
            unset($params['_base']);
        }
        $url = $this->urlBuilder()->getUrl($path, $params);
        if ($base && strpos($url, 'http') !== 0) {
            $url = $this->request->getAttribute('webroot') . ltrim($url, '/');
        }

        return $url;
    }
public function url ( $ path , array $ params = [ ] ) { $ base = true ; if ( isset ( $ params [ '_base' ] ) ) { $ base = $ params [ '_base' ] ; unset ( $ params [ '_base' ] ) ; } $ url = $ this -> urlBuilder ( ) -> getUrl ( $ path , $ params ) ; if ( $ base && strpos ( $ url , 'http' ) !== 0 ) { $ url = $ this -> request -> getAttribute ( 'webroot' ) . ltrim ( $ url , '/' ) ; } return $ url ; }
URL with query string based on resizing params.

@param string $path Image path.
@param array $params Image manipulation parameters.

@return string Image URL.

@see http://glide.thephpleague.com/1.0/api/quick-reference/
URL with query string based on resizing params .