Sometimes I will post a link and no thumbnail seems to be pulled from the link. Is this a case by case basis or do I need to do something else?

  • Cris16228@lemmy.today
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    1 month ago

    If I’m not wrong, images, like in every social, come from the page itself and are scraped (or not?) from the og:image or og:twitter

    If you share any link and open it on desktop and inspect the page you can see at the beginning the og:image which is the same you see in the posted link. Example:

    <meta property=“og:image” content=“https://ogp.me/logo.png”>

    The link I sent above has this image and if you share it you’ll see that image

  • aeharding@vger.socialM
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 month ago

    It’s scraped by your instance, so if Lemmy doesn’t return it then nothing is there.

    But also, lemmy devs seem to always be tweaking the scraping so it’s possible it’s better, but Lemmy.world is running outdated version rn.

    • ApollosArrow@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      That is also what I was reading, that each instance may have its own backend rules on how things are pulled. I worry that may become an issue with cross posting or probably deter people from posting in general if true.