UploadThing file download/view

Hi all, I have an application where a user will upload a photo or couple of photos. After they do that I want the photos to appear in a gallery that they can then view. I got the upload working, but I don't see anywhere in the docs how to then download the files. Thanks
1 Reply
julius
julius13mo ago
for just displaying the images just put the fileUrl as the src, if you want to download I think you'd need to fetch() and then create an a-tag and do the download to the users device that way (or they just right click the image and save to disk themselves)
Want results from more Discord servers?
Add your server