I’m looking for a image link format that contains website link that works in Obsidian. Something like this: [image.jpg|size]

Is there a solution or I can only embed an image and simply paste a link under it

  • Zarlin@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    2 days ago

    You should be able to nest the image and link into each other like this:

     [![image alt text](image URL link)](anchor link)
    

    This effectively uses the image instead of the link text.

    • Override4414@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      2 days ago

      sorry I should be more clear, I want to use local attachment link instead of image URL link, what link format should I use?

      • Zarlin@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        1
        ·
        2 days ago

        Ah you mean where the image link is formatted like ![[foo.png]]. I tried some things but it seems Obsidian doesn’t support nesting those inside a link (eg [![[foo.png]]](example.com) is not accepted as valid formatting).