psygo
Explore posts from serversTTCTheo's Typesafe Cult
•Created by psygo on 5/1/2024 in #questions
Converting String Encoded Images to Files to upload with UploadThing
In my app, I'm using a libary which handles files in a file manager as base 64 strings. Is there a practical way of uploading string encoded images with UT?
If not, here's what I've been trying (the rest of the code is basically the docs' default setup):
When I try this, I get this error:
I've also tried the many other ways of converting image strings to binaries, e.g. these.
4 replies