• JohnDClay
    link
    fedilink
    English
    arrow-up
    9
    ·
    4 months ago

    You can put an exclamation point in front of the link to get the image directly

    • threelonmusketeers
      link
      fedilink
      English
      arrow-up
      9
      ·
      4 months ago

      ![](https://xkcd.com/435/)

      You can embed the image, but I think you need to use the image link, rather than the comic page link:

      ![](https://imgs.xkcd.com/comics/purity.png)

      • Tlaloc_Temporal@lemmy.ca
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 months ago

        Hmm. On one hand, the image link properly embeds while the comic link is just a little OBJ square that I can open. On the other hand, the comic link preserves the alt text.

    • Septimaeus@infosec.pub
      link
      fedilink
      English
      arrow-up
      8
      ·
      edit-2
      4 months ago

      While true, be advised that some consider it rude to hotlink images without permission

      Edit: as pointed out below, Randall gives permission to hotlink/embed on each comic page.

      • JohnDClay
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 months ago

        Hmm, I’ve never seen that unless it’s nsfw

        • Septimaeus@infosec.pub
          link
          fedilink
          English
          arrow-up
          7
          ·
          4 months ago

          It’s old internet etiquette. I think the point is that hotlinking asks someone else to serve content without giving them traffic, if that makes sense.

          • threelonmusketeers
            link
            fedilink
            English
            arrow-up
            6
            ·
            4 months ago

            Does Randall putting “Image URL (for hotlinking/embedding)” directly below each comic on the xkcd site count as permission?

        • ✺roguetrick✺@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          ·
          4 months ago

          It actually gets funnier than etiquette like the old poster mentioned. Some folks got pissed enough from people doing it that they would replace the images with goatse.