Live data from Hacker News

Ask HN: Where do you host images for your blog or landing pages?

news.ycombinator.com

31–40 of 66 posts

Re: Ask HN: Where do you host images for your blog or landing pages?

#31
post #2

When it comes to GitHub repo, what does the URL of the image look like? Is some kind of hash added to the filename? At the moment I use media files from my WordPress blog to store images.

Try using the URL you get from dragging an image into a comment box (you don't even need to submit the comment).

It's not a long-term solution but it works.

Re: Ask HN: Where do you host images for your blog or landing pages?

#32
Colby from Cloudinary here what framework / tooling are you using? Sorry you haven't had a great experience with the UI, but if you stick around with Cloudinary, I would suspect there's a lot of solutions where the processing / uploading can be automated, such as using a Cloudinary plugin within a headless CMS (like Contentful) where you just use a URL or plugins like the Gatsby plugin: https://github.com/cloudinary-devs/gatsby-transformer-cloudi... (only supports images so far)

If you're on the Netlify side of things, I have a plugin there that automates images https://github.com/colbyfayock/netlify-plugin-cloudinary/

There's a ton others too: https://cloudinary.com/documentation/cms_ecommerce_integrati... https://cloudinary.com/documentation/partner_built

Hope that helps, happy to brainstorm other ideas as well!

Re: Ask HN: Where do you host images for your blog or landing pages?

#33
post #22

Some meta-commentary about some of the replies ... so far, there are 4+ replies suggesting the obvious step of storing in the images on the same web server host. But I notice the submitter is software engineer ex-Stripe, ex-Yelp, ex-Adobe... so I'm guessing he already knows that simple setup but doesn't locally host gifs & vids for technical reasons (bandwidth?, latency?). Maybe recalibrate the suggestions based on t…

Sometimes the best answer is still the obvious one, regardless of the audience.

Re: Ask HN: Where do you host images for your blog or landing pages?

#34
My own Web-site is mostly static, so images (I don't use video) are in the file system. For customer's it is sometimes more complex: The setup of dynamic Web-site content happens in a database application. The images are stored in their raw format in a database and transfered to the file system of the Web-site in the right dimensions and scale when their associated data-set (such as a specific product information, etc.) is to be published. This makes it easy to reuse the images in other contexts, e.g. PDFs, or to adapt to changes in the Web-site layout, e.g. low resolution/high compression for mobile.

Re: Ask HN: Where do you host images for your blog or landing pages?

#35
post #27
post #20

Earlier quoted context omitted.

If one is worried about scale, it's pretty easy to throw them behind a CDN like Cloudflare or Bunny.net. They'll cache the static file for you so that your web server isn't always delivering it. I used to upload assets for apps to S3 to be served from there when I just started thinking that my CDN is going to be taking the vast majority of hits for static files so why should I be adding a step to my deploy process?

> If one is worried about scale, it's pretty easy to throw them behind a CDN... But at that point, why don't you just put your entire site into a CDN? I would think a landing page / blog would be mostly static?

What problem would that solve? Using Cloudflare is very straightforward.

Re: Ask HN: Where do you host images for your blog or landing pages?

#36

You can go surprisingly far with a $5/mo Digital Ocean droplet and the Cloudflare free tier. Just host your website the boring way, put CF in front of it and they will cache and serve all of your static content for free.

or $5/year with a cheap VPS https://www.lowendstock.com/

Re: Ask HN: Where do you host images for your blog or landing pages?

#37
post #20

I guess I'm behind the times, but I just store them on the file system where I am serving the website from.

If one is worried about scale, it's pretty easy to throw them behind a CDN like Cloudflare or Bunny.net. They'll cache the static file for you so that your web server isn't always delivering it. I used to upload assets for apps to S3 to be served from there when I just started thinking that my CDN is going to be taking the vast majority of hits for static files so why should I be adding a step to my deploy process?

99,99% of people are overestimating their blogging needs. Unless you're Scott Hanselman the cheapest Hetzner VPS will cover all their hosting needs. It's amazing that even many developers nowadays don't really understand how far just basic hosting will take you before you need edge, cdn, s3 or anything else.

Re: Ask HN: Where do you host images for your blog or landing pages?

#38
post #22

Some meta-commentary about some of the replies ... so far, there are 4+ replies suggesting the obvious step of storing in the images on the same web server host. But I notice the submitter is software engineer ex-Stripe, ex-Yelp, ex-Adobe... so I'm guessing he already knows that simple setup but doesn't locally host gifs & vids for technical reasons (bandwidth?, latency?). Maybe recalibrate the suggestions based on t…

Seems even more appropriate to reply with the most obvious answer and not some overengineered / "will it scale" setup then.
Post reply on HN