• bleistift2
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    3 days ago

    Did you embed that image manually or did you use a graphical editor?

    I’m asking because I’m seeing more and more seemingly empty posts, and just now I’m noticing that there’s an image there, but the URL is wrong. Yours points to my home instance, but of course the image doesn’t exist there: https://sopuli.xyz/api/v3/image_proxy?url=https%3A%2F%2Fy.yarn.co%2Fcc4c71fc-cacd-44f6-aaaf-9aa5d757fb35_text.gif

    I’m assuming that https://y.yarn.co/Fcc4c71fc-cacd-44f6-aaaf-9aa5d757fb35_text.gif is the correct link, but that gives

    <Error>
    <Code>NoSuchKey</Code>
    <Message>Key not found</Message>
    </Error>
    
    • 🇰 🌀 🇱 🇦 🇳 🇦 🇰 🇮 🏆@yiffit.net
      link
      fedilink
      English
      arrow-up
      11
      ·
      edit-2
      3 days ago

      Their image link goes to a site that has a barrier between the link and the image (a cloudflare “are you human” captcha), so the embedded image does not properly load unless you actually go to the link in a browser.

      Only a direct link with nothing else around it actually works when embedded into a reply, otherwise it’s blank/a broken image icon. Imgur links tend to be the same way unless you make damn sure you have the true, direct URL for the image.

      Image loaded in external browser after checking the human box:

      Personally, I find it best to just save and reupload the image to Lemmy. Guaranteed to work for everyone.

      • kamiheku
        link
        fedilink
        English
        arrow-up
        3
        ·
        3 days ago

        Not exactly, though! At least for me, opening the comment via browser is enough. As in, the embed loads when it does not in my client (Sync). Does Lemmy (the web client) have some smarts for resolving the true image URL?

        • tigeruppercut@lemmy.zip
          link
          fedilink
          English
          arrow-up
          4
          ·
          3 days ago

          Weird, it loads for me in sync, but there have definitely been times where images don’t load. There must be something else going on

        • 🇰 🌀 🇱 🇦 🇳 🇦 🇰 🇮 🏆@yiffit.net
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          3 days ago

          The website interface itself for this thread also shows the image as a blank reply for me. At least Yiffit’s and Lemmy.World’s (which afaik is the default Lemmy uses). The url going through your instance might be something Sync is doing. The OP’s link goes straight to the image yarn url.

      • bleistift2
        link
        fedilink
        English
        arrow-up
        3
        ·
        3 days ago

        Thanks. Man, I’m a web dev. I should’ve been able to work that out!