cloudex v1.4.1 Cloudex
Cloudex takes care of uploading image files or urls to Cloudinary
Link to this section Summary
Functions
Delete a list of images
Delete an image
Deletes a prefix
You can start the GenServer that holds the cloudinary api settings by hand using this function.
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() :: {:ok, Cloudex.UploadedImage.t()} | {:error, any()} | [ok: Cloudex.UploadedImage.t(), error: any()]
Link to this section Functions
Delete a list of images
Link to this function
delete(item, opts \\ %{})
Delete an image
Link to this function
delete_prefix(prefix)
Deletes a prefix
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() | [String.t()], map()) :: upload_result()
Uploads a (list of) image file(s) and/or url(s) to cloudinary