Send a image with json of kodular

Good morning, I need your help to know the following: I am creating an app with Kodular, where I want to select an image from the phone, and send it in a JSON to a server. but I don’t know which KIO4_Base641 block I should choose. The AI ​​tells me to choose the ‘call KIO4_Base641.FileToBase64’ block, but I don’t see it in the KIO4 options.

Hi dear,

Welcome to the Kodular community,

KIO4_Base64 is a great extension by @juananton1991 that you need to import into your project.
Go to Juan’s website and download the extension,

Then import it into Kodular

After that, add it to the screen where you need it,

And you’ll be able to use it from the blocks drawer


If you don’t want to use extensions, you can follow this useful guide by @Glich which uses WebViewer, but it’s a bit more complex

1 Like

thank you Gianluca, I have done what you say, and I’have installed KIO4_Base64 as an extension. my problem is that I don’t know which block of that extension I have to use , for put it in a JSON a image I have selected of my phone to send to a server this image and the rest ot the information I have put it in the JSON (the other information is ok , only how to send the image to a server that I alredy have the URL)

These are the blocks: you pass the image path to ImageToBase64 (for example using an image picker), and in AfterImageBase64 you receive the Base64 text, which you can then add to your JSON.

1 Like