NotePlan
NotePlan
Jul 8

Support paths for imported .md with image links

I am trying to move from Obsidian to NotePlan 3 and when I import files, the images break. I have tried several ways of storing the images (in a common attachment folder, in the same folder as the note, etc.) but it never shows properly. For example, I have a link to a .png file in the same folder as the note and it doesn't show properly in NP3. I would love it if you would support standard paths for image links in NP3. Relative paths would be a bonus - i.e. ../_attachments/image.png
PendingPending

Feb 7, 2022

There's ways to customize on the obsidian side with plugins (specifically the `Custom Attachment Location` plugin), but I think the biggest blocker here is NP3 not supporting wikilinks for images like Obsidian does. If you turn off wikilinks in Obsidian settings this works fine, but then you lose all the backlinking goodness.

Jul 12, 2021

Dwayne Melancon How do the paths look like used by Obsidian? NotePlan is using relative paths, not sure if `..` is supported though (going a folder up). Would be great, if you could post a path used by Obsidian as an example here! I could try it out easily.

Jul 14, 2021

Eduard Metzger: I have familiar problem with this post When I write a blog in NotePlan 3 Sometimes I use other tools to edit the markdown file. One day I finished a blog that it has many images. I change the image’s link path in obsidian and VScode and image file name(Because I’m using Hugo to generate website pages which needs Front Matter and right file path.), then I backed to Noteplan3 and found my image disappeared,Name-changed images disappeared, too. Luckily, I have a backup in other place. I hope NotePlan can update image link when it’s edit in other place. The problem only happened in images.

Jul 14, 2021

Pecky: NotePlan deletes the images if it can’t find them in the note, so you don’t accumulate image files. Can you share how the new path looked like and where the image was saved? I would try it out then. Normally NotePlan would try to copy it back to the right path or similar. Except it’s outside of NotePlan’s folder.

Jul 14, 2021

Eduard Metzger: Thanks for reply My Hugo theme’s structure is: Blog(folder) | index.md | — image.png The image link in index.md: ``` ![name](image.png) ``` Hope this is helpful! Thanks!

Jul 25, 2021

Pecky: Ok, so it’s in the same folder?

Jul 25, 2021

Eduard Metzger: Yes Maybe before image be delete, the app can appear a warning or something Thanks