Cloudinary: An extension to upload files to Cloudinary

1.Introduction

Description: Cloudinary extension to upload files and do various functions with customization
Latest Version: 1.1
Last Updated: 2021-04-02T18:30:00Z
Released: 2021-04-01T18:30:00Z

2.Blocks

image
image

3.Documentation

  • OnError
    Event invoked when any error occurs
    image
    errorMessage ~ String
  • GotResponse
    Event invoked after getting response
    image
    response ~ YailDictionary
  • OnUploadProgress
    Event invoked when uploading progress changes
    image
    progress ~ int
  • Initialize
    Initialize Cloudinary with specified credentials
    image
  • Upload
    Uploads given file with specified options (if any)
    image
    path ~ String
    uploadOptions ~ YailDictionary
    You can find available upload options here.
  • Delete
    Deletes the given file
    image
    publicId ~ String
  • GenerateImage
    Generates image from text
    image
    text ~ String
    optionsMap ~ YailDictionary
    You can find available options here.

4.Downloads

Download Link: com.sunny.Cloudinary.aix (369.0 KB)

5.Liked my work/Want to donate

Thank you. :heart:
Kindly PM me.

Hope it helps!

10 Likes

1 Like

Could you please provide example blocks of how/what to set uploadOptions?

My efforts so far just crash the app (in Companion mode)

I have tried:

This crashes for both, or either. The file uploads just fine to the root folder using an empty dictionary

image

Wow, That's important extension :star_struck: :star_struck: :star_struck:
Good Job :sunglasses: :+1:

Thank you for bug report.
This works:
image


ChangeLog Version 1.1

New Blocks
image

Changes

  • Renamed OnUploadCompleted method to GotResponse
  • Some internal changes

Bug Fixes

  • Fixed bug in uploadOptions param in Upload method
1 Like

Thank you, it works now :slight_smile:

Event on Error not working.. i tried to overwrite image with parameter false but i didnt get any error message

Can you show your blocks?

Well, seems like you are posting kodular blocks. All the builders have their own respective forums and I prefer you to post these on Kodular community,

Regards,

yeah i know. its just about extension.

1 Like

But, I suggest you to please post appinventor blocks

:sweat_smile:

You should at least test in AppInventor, just in case it works with AppInventor but not with Kodular....

This extension has not been "published" on the kodular community, there could be a reason for that....

3 Likes

Blocks are correct and there is no issue.