Oddbean new post about | logout
 Added another helper method to "blossom-client-sdk` https://github.com/hzrd149/blossom-client-sdk/blob/master/src/image.ts#L66

"handleBrokenImages" can be used to watch the whole web page and handle any broken images. when it finds one it tries to find the data-pubkey attribute on the image (or parent element) and then repair the image using the users fallback blossom servers

You can see an example of it working here:
https://media-server.slidestr.net/68f8b000316625d770788135ee94966df01dae50a7db11e4acc8ee7f1efc4ccf.html