News for hackers. Stuff that matters.
Re:Ask HN: Where do you host images for your blog or landing... by taubek on Monday October 17, 2022 @08:53AM (#33232785)
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.
Re:Ask HN: Where do you host images for your blog or landing... by stephanheijl on Monday October 17, 2022 @09:01AM (#33232856)
I just add them to an img folder in my Github repository and it is then served as part of the Github page. Just using `src=img/picture.jpg` works fine.
Re:Ask HN: Where do you host images for your blog or landing... by taubek on Tuesday October 18, 2022 @05:15AM (#33244775)
I've used systems like Docusarus[1] (for building my project documentation). It is build from my github project. And I end up with URLs on my server like https://mysite.com/docs/assets/images/connect-to-app-02c6a40...

But I've never tried to link directly to source file, not builded version on my server.

[1] https://docusaurus.io/

Re:Ask HN: Where do you host images for your blog or landing... by chatmasta on Monday October 17, 2022 @09:30AM (#33233185)
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.