How apps build a link card
When someone pastes a link, the app fetches the page and reads its Open Graph tags: og:title for the headline, og:description for the text, og:image for the picture and og:url for the address. X also reads twitter:card to decide between a small thumbnail and a full-width image.
If a tag is missing, each app falls back in its own way, usually to the page title and meta description, and often shows no image at all. Setting the tags yourself is the only way to control the card.
The image that works everywhere
Use a 1200 x 630 pixel image, about 1.91 to 1, as a JPG or PNG, and give its full https:// address. Keep the important part in the centre, because WhatsApp and some X cards crop it to a square.
Add og:image:width and og:image:height as well. They let apps lay out the card before the image has downloaded, which makes the first share of a new page more reliable.
Why an old preview keeps showing
Apps cache link cards, sometimes for days. After you change your tags, this checker shows the new card at once, but Facebook and LinkedIn keep the old one until their cache expires or you refresh it in Facebook's Sharing Debugger or LinkedIn's Post Inspector.