Hacker News new | ask | show | jobs
by bombcar 1342 days ago
This is what I’ve done - if you want to be a bit more protective you can do some things to make sure they’re not hotlinked from elsewhere, but that’s up to you.
1 comments

Me too.

I took it one step further: I don't have an image-heavy site, so I degrade the resolution to make images as small as possible, then embed them in the HTML as base64 strings. Very portable!

There are tools that will do this for you - some of the "static site" generators IIRC, or the minifiers.

You can even base64 the thumbnails and still have "click through" to the source image if desired.