public function createCloudinary($params, $optParams = [])
    {
        $params = $this->client->fillParams(['cloudId', 'cloudinaryCloud', 'cloudinaryImage'], $params);

        return $this->build('/r/cloudinary/'.urlencode($params['cloudinaryCloud'].'/'.$params['cloudinaryImage']), $params, $optParams);
    }
public function createCloudinary($params, $optParams = [])
    {
        $params = $this->client->fillParams(['cloudId', 'cloudinaryCloud', 'cloudinaryImage'], $params);

        return $this->build('/r/cloudinary/'.urlencode($params['cloudinaryCloud'].'/'.$params['cloudinaryImage']), $params, $optParams);
    }
public function createCloudinary ( $ params , $ optParams = [ ] ) { $ params = $ this -> client -> fillParams ( [ 'cloudId' , 'cloudinaryCloud' , 'cloudinaryImage' ] , $ params ) ; return $ this -> build ( '/r/cloudinary/' . urlencode ( $ params [ 'cloudinaryCloud' ] . '/' . $ params [ 'cloudinaryImage' ] ) , $ params , $ optParams ) ; }
Creates the URL for a Cloudinary image.

@param array $params Required API parameters

<li>cloudId - cloud ID
<li>cloudinaryCloud - Cloudinary cloud ID + folder
<li>cloudinaryImage - Cloudinary image ID
@param array $optParams Optional API parameters

<li>option - options defined by shardimage\shardimagephp\factories\Option
<li>transformation - transformations defined by shardimage\shardimagephp\factories\Transformation
<li>version - version number (to force cache miss)
<li>format - output format
<li>seo - SEO filename
<li>security - "basic" or "token"

@return string
Creates the URL for a Cloudinary image .