this post was submitted on 14 Aug 2024
270 points (98.2% liked)

United States | News & Politics

7188 readers
635 users here now

founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 2 months ago (4 children)

Off topic, but how is the thumbnail actually picked up? I looked at the article and can't find this specific picture anywhere.

[–] [email protected] 9 points 2 months ago* (last edited 2 months ago)

For breaking news stories, the website might keep updating the pictures.

Lemmy presumably goes to the website, and downloads a relevant image to use as a thumbnail. Then the writers update the article images.

[–] [email protected] 5 points 2 months ago* (last edited 2 months ago)

Typically, when links are published to link aggregator sites like lemmy or reddit or whatever, the link aggregator looks for a meta tag marked thumbnail to grab the URL for the image. It looks like this:

<meta name="thumbnail" content="https://path/to/img.jpg">

In this case, the thumbnail tag contains a url to a different picture, and the one used for this link is nowhere to be found, so I’m guessing that when OP created the link, Lemmy cached the thumbnail picture from the provided URL, and then afterwards, AP changed it in their article.

[–] [email protected] 3 points 2 months ago

I think websites do that quite often these days. If you are trying to see the thumbnail in full resolution, they won't put it in the article, so you have to scan the entire page fruitless.

It causes me irritation.

[–] [email protected] 1 points 2 months ago

Look up twitter cards and Facebook graph HTML tags.