I was ignoring this video for a while cause I felt the video long and I still have problem uploading images after A week. Now just watched the video and it's so worth it. Thanks mate👍
Amazing video! Good job, @CandDev! Talking about this, does anyone know how to get this to work via Next.js Server Actions? In 2023 (Next 13 and 14) almost everyone in production has moved towards using Server Actions. Personally, I don't care - but uploading like this gets really messy (and often broken) in most middleware setups - unless we stick to Server Actions.
Can you please show how to delete file uploaded to uploadthing? Like in crud operations, when image links are removed from db, I'd want the images themselves to be removed as well.
⨯ No HTTP methods exported in 'C:\Users\arief\Documents extjs extjs-blog-app\src\app\api\uploadthing oute.ts'. Export a named export for each HTTP method. POST /api/uploadthing?actionType=upload&slug=imageUploader 405 in 883ms kok saya error ya bang pas mau coba upload
I was ignoring this video for a while cause I felt the video long and I still have problem uploading images after A week.
Now just watched the video and it's so worth it. Thanks mate👍
Thank you! Nice and straight-forward tutorial, keep it up Cand!
With this video it was really easy!! Awesome job dude !
Amazing video! Good job, @CandDev! Talking about this, does anyone know how to get this to work via Next.js Server Actions? In 2023 (Next 13 and 14) almost everyone in production has moved towards using Server Actions. Personally, I don't care - but uploading like this gets really messy (and often broken) in most middleware setups - unless we stick to Server Actions.
Woww!! that's awesome!!!
Thanks!!
Make sure your /api/uploadthing routes are available without authentication if you're using middleware (uploadthing server calls them after upload)
And how to add another image, what's the easiest way to remove the previous one?
Can you please show how to delete file uploaded to uploadthing? Like in crud operations, when image links are removed from db, I'd want the images themselves to be removed as well.
hey did you find it out how to do that?
great video, to the point. Thank you
I really wanted to see if it worked on deployment, mine works on localhost but not on my domain or in deployment
How can i get my all images via Get Api from Uploadthings to Nextjs?
How do I set content-disposition to attachment in uploadthing?
⨯ No HTTP methods exported in 'C:\Users\arief\Documents
extjs
extjs-blog-app\src\app\api\uploadthing
oute.ts'. Export a named export for each HTTP method.
POST /api/uploadthing?actionType=upload&slug=imageUploader 405 in 883ms kok saya error ya bang pas mau coba upload
How to update an image?
Nice Video 😇
is there anyway to use on reactjs
Can i do js instead of ts?
Yes of course. just change the file to JS and remove all types
thanks
it helped
Brother, can you please make a video about blogging apps with auth + crud upload images?
great idea.
with server actions