this post was submitted on 12 May 2025
4 points (100.0% liked)

ObsidianMD

4520 readers
18 users here now

Unofficial Lemmy community for https://obsidian.md/

founded 2 years ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 day ago* (last edited 1 day ago) (3 children)

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.

[–] [email protected] 2 points 1 day ago (1 children)

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

[–] [email protected] 1 points 18 hours ago (1 children)

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).

[–] [email protected] 2 points 15 hours ago

yeah that's the problem, I guess I will just simply past the original link right below the image

load more comments (1 replies)