cloudex v1.2.2 Cloudex
Cloudex takes care of uploading image files or urls to Cloudinary
Link to this section Summary
Functions
Delete an image
You can start the GenServer that holds the cloudinary api settings by hand using this function.
example
Uploads a (list of) image file(s) and/or url(s) to cloudinary
Link to this section Types
Link to this type
upload_result()
upload_result()
upload_result() ::
{:ok, Cloudex.UploadedImage.t()}
| {:error, any()}
| [ok: Cloudex.UploadedImage.t(), error: any()]
upload_result() :: {:ok, Cloudex.UploadedImage.t()} | {:error, any()} | [ok: Cloudex.UploadedImage.t(), error: any()]
Link to this section Functions
Link to this function
delete(item_list)
delete(item_list)
delete([String.t()]) :: :ok
delete([String.t()]) :: :ok
Delete an image
Link to this function
start(settings)
You can start the GenServer that holds the cloudinary api settings by hand using this function.
example
start %{api_key: "key", secret: "s3cr3t", cloud_name: "heaven"}
Link to this function
upload(list, options \\ %{})
upload(list, options \\ %{})
upload(list() | [String.t()], map()) :: upload_result()
upload(list() | [String.t()], map()) :: upload_result()
Uploads a (list of) image file(s) and/or url(s) to cloudinary