Hi Retool Team,So, what I'm doing is using the follow downloadFile
util to do this.
-
My goal:
I want to be able to download my images that are webp images. -
Issue:
I'm not able to download / save the image as anything but text. -
Steps I've taken to troubleshoot:
I am using a photo-grid component from retool and I do see my images pop up as I'm passing my base64 data in. I've tried to just download or save my image as something else, but it's always text. I've also tried to utilize theutils.downloadFile
function to convert and download my image as jpg. The download succeeds but the file doesn't seem to open properly. Also, I do see that the base64 data is getting passed into my query correctly. -
Additional info: (Cloud or Self-hosted, Screenshots)
I am cloud hosted and I'm using the s3 resource query to put new images into my s3 bucket. And I'm pulling them based on their s3 keys successfully.