Image reference bug occurs on rename to existing filename in another folder

Steps to reproduce

  1. Create a Obsidian folder to keep images.
  2. Paste an image into an Obsidian document. Rename it “mypic”.
  3. Drag image to the images folder.
  4. Paste another image into the same Obsidian document. Rename it “mypic”. Obsidian would not allow this if the images were in the same folders, but since they are not, it allows it.
  5. Now drag the new image into the images folder.
  6. Obsidian reacts by adding a “1” to the image name.
  7. The bug: In the document, the reference to the old mypic.png image has been changed to point to mypic 1.png, so the new image is shown twice in the document and the old image is not displayed anymore.

Expected result

I expect the references to both the old image and the new image to remain in the document, since they have different names now (after Obsidian added a 1 to the name automatically).

Actual result

Both image references in the document point to the new image (mypic 1) and the old one is not displayed anymore.


  • Operating system: Arch Linux with Gnome
  • Obsidian version: 0.6.7
  • Using custom CSS: No

Additional information

1 Like

I see what is happening here. This bug falls under the category improving links management.

this should be fixed in 0.8.4. Let me know if you still have this problem.