Vercel Blob Storage Plugin client upload only files under 4,5 mb possible to upload #7569
Replies: 10 comments 2 replies
-
Hey @christianfullstack — are you deploying on Vercel? I know the 4.5mb thing is a Vercel limitation, but I'd like to confirm. We do indeed have plans to switch to client-side uploads so I have added this to our Roadmap! |
Beta Was this translation helpful? Give feedback.
-
@jmikrut roughly how far out is this feature? We are close to deploying a larger project and this issue would prevent us from hosting it on Vercel sadly. |
Beta Was this translation helpful? Give feedback.
-
Yea, we have had some problems because of that too. Deployed 3 projects with 3.0 on Vercel so far with 2 more in active development and this is the biggest complaint from the clients. It is hard to communicate to them, that they have to downsize their images before uploading them to their CMS. We're using S3 tho, so would be really nice if this feature would be available there too. |
Beta Was this translation helpful? Give feedback.
-
is there an update on this? using s3/supabase, mono repo deployed to vercel. seems to defeat the purpose of the monorepo |
Beta Was this translation helpful? Give feedback.
-
I'm also using Vercel + Supabase, wish I had known about this limitation before building the whole CMS for a customer. Is there still no update in regards to this, @jmikrut ? |
Beta Was this translation helpful? Give feedback.
-
Do we have any updates on this? |
Beta Was this translation helpful? Give feedback.
-
I was just looking at this today and was able to get a direct upload to S3 working. The downside is that it skips all of payloads image processing such as cropping or splitting up the image into different resolutions. One option would be to process the images after the initial upload with a kind of worker. This would need to happen off Vercel, as else the 4.5MB Limit would also kick in there. @jmikrut Did you decide on how to handle this? I'm happy to contribute an implementation for this! |
Beta Was this translation helpful? Give feedback.
-
Any updates on this? I have same problem on s3 bucket deployed with vercel |
Beta Was this translation helpful? Give feedback.
-
Are there any updates? |
Beta Was this translation helpful? Give feedback.
-
Would love to hear updates :) |
Beta Was this translation helpful? Give feedback.
-
Link to reproduction
No response
Payload Version
v3.0.0-beta.73
Node Version
20.9.0
Next.js Version
15.0.0-canary.83
Describe the Bug
at the moment the @payloadcms/storage-vercel-blob allows only uploads smaller than 4,5mb.
Could we switch to client upload to allow bigger filesizes ? I think we need the client upload.
https://vercel.com/docs/storage/vercel-blob/client-upload#client-uploads-with-vercel-blob
because this limit is not useful in the case of using vercel blob storage.
upload: { limits: { fileSize: 30000000, }, },
Thank you
Reproduction Steps
use @payloadcms/storage-vercel-blob and try to upload a file bigger than 5 mb.
Adapters and Plugins
storage-vercel-blob
Beta Was this translation helpful? Give feedback.
All reactions