Cloudinary.getImageUrls()

Get Image URLS from Cloudinary based on Image ID.

Usage

Hover over inputs/exits for more info.

var Cloudinary = require('machinepack-cloudinary');


// Get Image URLS from Cloudinary based on Image ID.

Cloudinary.getImageUrls({

cloudName: 'abc',

apiKey: 'abcd',

apiSecret: 'abcd',

imageId: 'abc',

options: {},

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// OK.

success: function (result) {

 

},

});

Inputs

cloudName required

Your Cloudinary cloud name key.

'abc'
apiKey required

Your Cloudinary API key.

'abcd'
apiSecret required

Your Cloudinary secret API key.

'abcd'
imageId required

Image ID on Cloudinary.

'abc'
options

Image options : http://cloudinary.com/documentation/node_image_manipulation

{}

Exits

error

An unexpected error occurred.

success

OK.

{ http: 'url', https: 'url' }