Tries to load broken images on a page from a series of fallback locations.
https://woollymittens.github.io/photo-retry/
<script src="./photo-retry.js" type="module"></script>
import { PhotoRetry } from 'photo-retry.js';
new PhotoRetry([
'https://localhost/a{f}',
'https://localhost/b{f}',
'https://placehold.co/400x300/'
]);
This work is licensed under a MIT License. The latest version of this and other scripts by the same author can be found on Github.