Open phette23 opened 9 years ago
See how this is handled in the Materials Library now in the commit referenced above: we add an onerror
attribute to the book jacket image which removes the DOM element if the image fails to load. An elegant, easy solution.
See Cool Memories for instance; it doesn't have a book cover so no image appears, but if you click where the cover should be a broken, blank image labelled "book" appears:
We should correct for this in the script that sets up the book cover images and fancybox display.