0

Is it possible to get an image from a client application (Angular using ng-file-upload) and pass this into a webApi controller to then upload to Cloudinary? Reading the docs it seems that the Cloudinary API expects to read the image directly from file/Amazon S3 bucket/internet location?

How can I pass the string representation of an image to cloudinary upload?

Roee Ben-Ari
  • 600
  • 3
  • 12
CheGuevarasBeret
  • 1,364
  • 2
  • 14
  • 33

1 Answers1

1

Cloudinary allows you to upload using a BASE64 URI representation as well. For more information see: https://support.cloudinary.com/hc/en-us/articles/203125741-Can-I-upload-using-DATA-URI-BASE64-

Direct upload can be established either based on the jQuery plugin or ng-file-upload plugin. Both are demonstrated in this sample project.

Nadav Ofir
  • 778
  • 4
  • 6