fivefilters/ftr-site-config

nytimes.com - lazy-loaded images not loaded

Tally opened this issue · 1 comments

Tally commented

First encountered at https://www.nytimes.com/2023/03/17/t-magazine/josh-kline.html

Only the first image in the article loads and all are preceded by the containing "Image". Notably the subsequent images are wrapped in a

with the 'data-testid="lazy-image"' attribute but my own attempts at catching and addressing this have not been fruitful.

Unfortunately only the first two pictures are implemented directly in the html code by <img... The first one is obove the title and striped from FTR, because it is outside the body-identifyier. The second image shows up in FTR. All other pictures are put' in via java-script. FTR doesn't see theese <img> tags, because it uses just the plain html without interpreting/rendering the script code before.

With current techniques no chance to display the pictures with FTR in the article. 😒