Steps to reproduce
- Create a Obsidian folder to keep images.
- Paste an image into an Obsidian document. Rename it “mypic”.
- Drag image to the images folder.
- 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.
- Now drag the new image into the images folder.
- Obsidian reacts by adding a “1” to the image name.
- 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.
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).
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