This is how I like to do image uploads on my full stack apps

preview_player
Показать описание


Рекомендации по теме
Комментарии
Автор

I have always been wondering what the process of uploading images via presigned url looks like, this has helped me understand the logic behind it. Thank you for the video!

baybay
Автор

Good timing, I was about to do something similar with S3 today (which I have never user before) so this has helped!

brandon-wdtx
Автор

Hey I asked this question in your last livestream and you made a video of it. Even though it might not be the main reason, ill still say this. Thanks a lot! :D

Hiperultimate
Автор

This works but what happens when the client is facing some connectivity issues and the upload fails?? I see you’re saving the object id in your DB before sending back the postpresigned url

takundahwaire
Автор

Do you think using vercel storage for personal projects built with nextjs is a good choice ? Having everything in one place seems good and safe for me like deploying, db, file uploading etc.. What do you think?

cimsir_tl
Автор

Hey Cody, great video, if possible could you sometime show us a video on how we can set up a dev database within our t3 stack so we can work on adding new features without effecting prod data ?

LeighBriody
Автор

What do you think of using public s3 bucket for image uploads?

randy
Автор

Hi Cody,

One thing I'm wondering about is image compression.

I'm wanting to build something like a photo album where users can store potentially hundreds of photos. For this kind of thing, wouldn't I want to put some kind of API between the upload button and the S3 bucket to compress the image files before storing them in the S3 bucket? That way the app/website would be receiving compressed images when I fetch them from the database?

simplehonestmusic
Автор

Hi, i wonder how you get this quality with macbook in 1080p. I am using 2019 macbook pro but when i try to record a video in 1080p the quality become very low. I am using OBS to record videos.

cimsir_tl
Автор

Going back to this vid because I remember you mocking S3 locally, thanks!.

I tried localstack---it removes the files when the docker container stops. Kinda wasted my time there.

gadgetboyplaysmc
Автор

I created an image upload component but it doesn’t upload image files from mobile devices like iOS properly. What can I do to make sure iOS images are being uploaded properly?

Metachief_X
Автор

The only problem with uploading directly to S3 is you can't validate the file type of what's being sent. S3 just checks if your sending the correct headers, but the actual file type of the file is not being checked.

Flash
Автор

how do you compress images of different sizes to a "standard" size of about 50KB for fast loads?

abdirahmann
Автор

If I may be so bold as to suggest a different font for your thumbnails; the current one is very comic sans, which is very triggering for many lol.

spyroninja
Автор

Thought you will be showing us Theo's uploadthing package

charliesta.abc
Автор

what's your vs code theme its really cool

akahades
Автор

What is the name of that vscode theme?

hellomukit
Автор

Hello, if I may ask, what would it cost to host a vidoe course website? how much would it cost? say it can support like 1000 concurrent users all watching videos

AhmedOmar-ibyn
Автор

Why don't we do this directly on AWS? Easier, right? Create an endpoint with Api Gateway and connect to the lambda function. The Lambda function then distributes the files to the S3 bucket. It's really easier than your method.

gizemavcs
Автор

Babe. When can we expect a Laravel TALL stack tutorial? ❤

name_less