moby-dick icon indicating copy to clipboard operation
moby-dick copied to clipboard

Image "Illustration of a stack of books with an hourglass on top" doesn't load

Open jsundram opened this issue 1 month ago • 0 comments

For the chapter Etymology the image doesn't load if the browser window is wider than 480px.

Looking at the source (reformatted to make a bit easier to read):

<img 
    srcset="
        /assets/respimg/2faf41ca-480.jpeg 480w, 
        /assets/respimg/2faf41ca-900.jpeg 900w, 
        /assets/respimg/2faf41ca-1000.jpeg 1000w, 
        /assets/respimg/2faf41ca.jpeg 1000w" 
    sizes="
        (min-width: 550px) 900px, 
        (min-width: 950px) 1200px, 
        (min-width: 1300px) 1600px, 100vw" 
    alt="Illustration of a stack of books with an hourglass on top" 
    src="/assets/respimg/2faf41ca-480.jpeg" width="480" height="483" loading="lazy"
>

If you change /assets/respimg/2faf41ca-1000.jpeg 1000w, to /assets/respimg/2faf41ca-1200.jpeg 1200w this will render correctly. Not sure if this file is stale, or why this issue isn't present in other chapters; the eleventy / liquid code looked correct.

jsundram avatar Jan 25 '25 19:01 jsundram