I have looked through the app I use (mlem) and the web interface but I can’t figure out how to give a link post an image, as when I try to put something into the image section it replaces the link.

So how is it done exactly? Is this some setting, special script or app feature I don’t know about? Or have I missed something?

  • Lime Buzz@beehaw.orgOP
    link
    fedilink
    arrow-up
    2
    ·
    2 months ago

    Oh, hmm, so why on youtube videos does the image fetch sometimes work and sometimes not, and same for other URLs, I assume. Do I need to enter the full youtube.com url and not the youtu.be one?

    This is very confusing to me why it wouldn’t be able to fetch all the images associated with a URL for me but seems to work flawlessly for others, unless I am seeing it in the body and mistakenly assume it’s attached to the URL.

    Hmm. More testing is required I guess.

    Thank you for the workaround!

    • Admiral Patrick@dubvee.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      Oh, hmm, so why on youtube videos does the image fetch sometimes work and sometimes not, and same for other URLs,

      It all depends on the Lemmy server making the fetch. Many Lemmy instances are run from various VPS’s, and sometimes sites block IP ranges from certain cloud providers or Cloudflare might not let them through unchallenged. If the server can’t fetch the details, it won’t have the thumbnail image.

      I think it also depends on the instance’s pict-rs configuration as well. If the thumbnail it fetches is larger than the max size configured for pict-rs, it won’t fetch it. There’s some other weirdness with that process, but I’m not sure enough to even try to explain it lol.