271
submitted 4 months ago by TrippyFocus@lemmy.ml to c/usa@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] takeda@lemmy.world 6 points 4 months ago

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

[-] OhNoMoreLemmy@lemmy.ml 9 points 4 months ago* (last edited 4 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.

[-] elbucho@lemmy.world 5 points 4 months ago* (last edited 4 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.

[-] lolrightythen@lemmy.world 3 points 4 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.

[-] delirious_owl@discuss.online 1 points 4 months ago

Look up twitter cards and Facebook graph HTML tags.

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

United States | News & Politics

7333 readers
374 users here now

founded 4 years ago
MODERATORS