cloudinary

cloudinary / GetCloudinaryUrl / 0.1.1

README.md

Overview

Build URL of an image in Cloudinary

Usage

Before using this algorithm, you must first configure your Cloudinary credentials via https://algorithmia.com/algorithms/cloudinary/ConfigureCloudinary

Input

Option 1: the name of a file in your Cloudinary cloud

"wikidark"

Option 2: a 'file' parameter, and any other upload options

Only the 'file' parameter (the name of an image in your Cloudinary cloud) is required, all others are optional as described in https://cloudinary.com/documentation/image_transformation_reference

{
  "file":"wikidark",
  "width":"100",
  "format":"jpg",
  "effect": "sepia",
  ...
}

Output

A URL of the image, e.g.

"http://res.cloudinary.com/algorithmia/image/upload/e_sepia,w_100/wikidark.jpg"