Can't upload images to RETOOL STORAGE

Hi Hussein,

I can confirm I can reproduce this issue when using the mobile device and having the 'Upload to Storage' checked. The mobile team are currently investigating this and will work on a fix asap. In the meantime I have a workaround for you:

You can call an event handler on the ImageInput component to trigger a JS query on the 'close' event (with the 'Upload to Retool Storage' checkbox unticked):


The script it calls will do the following:

This will take the url (hard coded for the first image, but there could be multiple so you can put this in a loop) and convert it to a base64 image. It then onSuccess calls the Retool Storage resource with the image data where it can be uploaded:

1 Like