Cheapest way to host images?

Hi, I have a site i'll release soon and it has over 100 images, is cloudinary the way to go? Thanks!
20 Replies
Connor B
Connor B11mo ago
Cloudflare buckets have a very generous free tier and excellent performance, also if you’re in the T3 ecosystem I think Theo has a product you might be interested in.
Kenzo
KenzoOP11mo ago
Yes I'm using T3 stack, but for now its just for a static page, I'll add backend calls later I mean, I don't want to users upload pics, just cheap hosting haha, not sure if uploadthing is cheaper than cloudinary I'm concerned that I've already used 2% of my free plan, and I've been developing it for two days with no external users. 😐 😐 😐
Connor B
Connor B11mo ago
I mean you could just host stuff of imgur and provide direct links. But Cloudflare buckets have 10million reads per month free. You could have 1k files with an average size of 1gb and still be inside the free tier Btw if you find a service with a more generous free tier I’d be very interested.
Kenzo
KenzoOP11mo ago
Oh great, then I'll switch from cloudinary to cloudflare if I see the free tier runs out 😛 But I'll possibly use cloudflare too for the ddos protection And cache
beebae
beebae11mo ago
Cant we upload images to Pinterest and copy the image link from there and put it in SRC tag? For small app containing 20-30 images ? @Kenzo @Connor B
Connor B
Connor B11mo ago
I mean yeah, but honestly you should consider upload thing or cloudflare, with a proper CDN integrated into the hosting you’ll get better performance And let’s be honest if you’re on this discord you care enough to consider the little things.
beebae
beebae11mo ago
yep ok is cloudfare free? @Connor B
mfzn
mfzn11mo ago
If you're looking for the cheapest, Contabo object storage is cheapest. It's 2.49 Euro per 250GB. If you're only with 100 images and you want ease of implementation: Bytescale is easiest (use their uploader, use their cloud, don't do custom things) and only $7/mo. If you want a free tier, use Cloudinary.
Connor B
Connor B11mo ago
It has a very generous free tier that doesn’t expire over time. For a small scale project you should never have to pay a dime Also works with AWS cli I believe .
beebae
beebae11mo ago
Ok thanks aot mate 👍🏻@Connor B
Kenzo
KenzoOP11mo ago
Hi! 🙂 I have the Images directly on public folder, hosted in Vercel, I enabled all the Cache in Cloudflare, but it seems its not caching it?
No description
Connor B
Connor B11mo ago
If you’re hosting all the images directly on vercel then you shouldn’t need cloudflare to handle the CDN, I’m not 100% sure how you’d have this set up. Why not just host the images directly on cloudflare and give your vercel instance a breather
Kenzo
KenzoOP11mo ago
So, I'm trying to make cloudflare caches my images (the ones i have under public folder), but no luck I've uploaded the images to the r2 bucket, and now im trying to make them work xD otherwise i'll try uploadthing
Kenzo
KenzoOP11mo ago
No description
Kenzo
KenzoOP11mo ago
So, even if I'm hosting them on cloudflare, next <Image /> component grab them...? they are not loading Its really weird they are not loading at all
Kenzo
KenzoOP11mo ago
No description
Thomas
Thomas11mo ago
You could probably use the IPFS
Kenzo
KenzoOP11mo ago
i think the issue comes from having +100 images in the front page all with lazy loading --------- Hey! 🙂 Found some issues that were not failing in local, like images loading if the name is upperscore, but not in production 😅 or incorrectly sizes tag on images Now I'll need a way to test if cloudflare is caching it properly Well, I guess I could just setup a dns proxy just for the static images in cloudflare Still confused me, next grab the cloudflare hosted image, optimise it, and deliver it to cloudflare again.. And then cloudflare cache it properly? ---------
Kenzo
KenzoOP11mo ago
Cloudflare caching do not work with next <Image >
No description
Kenzo
KenzoOP11mo ago
😦
Want results from more Discord servers?
Add your server